Kernel runs in the higher address space
This commit is contained in:
10
kernel/scripts/mkimage.knf
Normal file
10
kernel/scripts/mkimage.knf
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
O=`pwd`
|
||||
|
||||
make -C $3/../kboot O=$O clean
|
||||
make -C $3/../kboot O=$O KIMAGE="$O/$1" LOAD_PA=0x401000 CC=${CC} LD=${LD} LDFLAGS="${LDFLAGS}"
|
||||
|
||||
cp kboot/kboot.elf $2
|
||||
Reference in New Issue
Block a user