# Makefile fragment for the Xen platform. # Copyright (C) 2024 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; either version 2, or (at your option) any later # version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # RISCV support. # EXTRA_DIST += \ riscv/riscv/mach_riscv.srv \ riscv/riscv/riscvasm.sym \ riscv/ldscript \ riscv/include/asm/ \ riscv/include/ libkernel_a_SOURCES += \ riscv/riscv/boothdr.S \ riscv/riscv/setup.c \ riscv/riscv/model_dep.c \ riscv/riscv/model_dep.h # # Automatically generated source files. # # See Makerules.mig.am. # nodist_lib_dep_tr_for_defs_a_SOURCES += \ riscv/riscv/mach_riscv.server.defs.c nodist_libkernel_a_SOURCES += \ riscv/riscv/mach_riscv.server.h \ riscv/riscv/mach_riscv.server.c \ riscv/riscv/mach_riscv.server.msgids # riscv/riscv/mach_riscv.server.defs nodist_libkernel_a_SOURCES += \ riscv/riscv/riscvasm.h # # Installation. # include_mach_riscvdir = $(includedir)/mach/riscv include_mach_riscv_HEADERS = \ riscv/include/mach/riscv/asm.h \ riscv/include/mach/riscv/boolean.h \ riscv/include/mach/riscv/eflags.h \ riscv/include/mach/riscv/exception.h \ riscv/include/mach/riscv/fp_reg.h \ riscv/include/mach/riscv/ioccom.h \ riscv/include/mach/riscv/kern_return.h \ riscv/include/mach/riscv/mach_riscv.defs \ riscv/include/mach/riscv/mach_riscv_types.h \ riscv/include/mach/riscv/machine_types.defs \ riscv/include/mach/riscv/multiboot.h \ riscv/include/mach/riscv/syscall_sw.h \ riscv/include/mach/riscv/thread_status.h \ riscv/include/mach/riscv/trap.h \ riscv/include/mach/riscv/vm_param.h \ riscv/include/mach/riscv/vm_types.h # # Architecture specialities. # gnumach_LINKFLAGS += \ --defsym _START_MAP=0x80100000 \ --defsym _START=0x80100000 \ -T '$(srcdir)'/riscv/ldscript