diff options
Diffstat (limited to 'src/arch/riscv32/Makefile.sbi')
| -rw-r--r-- | src/arch/riscv32/Makefile.sbi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/arch/riscv32/Makefile.sbi b/src/arch/riscv32/Makefile.sbi new file mode 100644 index 000000000..5841dd4b5 --- /dev/null +++ b/src/arch/riscv32/Makefile.sbi @@ -0,0 +1,14 @@ +# -*- makefile -*- : Force emacs to use Makefile mode + +# Set base virtual address to 0xeb000000 +# +# This is aligned to a 4MB boundary and so allows 4MB megapages to be +# used to map the iPXE binary. The address pattern is also easily +# recognisable if leaked to unexpected contexts. +# +LDFLAGS += --section-start=.prefix=0xeb000000 + +# Include generic SBI Makefile +# +MAKEDEPS += arch/riscv/Makefile.sbi +include arch/riscv/Makefile.sbi |
