summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-06-05 18:14:32 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-06-05 18:14:32 +0200
commit25753a453b5da16583ace92dc8f9c426dd4a1388 (patch)
tree9d9ce77d7db945ee1e5ea44c37b0f15aa8049845 /src/Makefile
parentd42328ec3e07c7c76d1ba0a253f982f57ead41e7 (diff)
downloadabaos-25753a453b5da16583ace92dc8f9c426dd4a1388.tar.gz
abaos-25753a453b5da16583ace92dc8f9c426dd4a1388.tar.bz2
added deinit in drivers
added some debug flags and code in drivers 32 sectors size of kernel
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 3388eb4..6e52754 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -13,10 +13,10 @@ all: image.bin kernel.sym
# + M * 512 (M is currently 7) = 3144 for kernel.bin
# + 1 * 512 = 512 for magic.bin
# (M + N + 1 is the number of sectors to be read in stage 2, as stage 1
-# loads only the first sector, so adapt NOF_LOAD_SECTORS to 27)
+# loads only the first sector, so adapt NOF_LOAD_SECTORS to 32)
image.bin: boot.bin kernel.bin magic.bin
cat boot.bin kernel.bin > image.tmp
- truncate -s 13824 image.tmp
+ truncate -s 16384 image.tmp
cat image.tmp magic.bin > image.bin
boot.bin: boot.asm boot_gdt.asm stage1_functions.asm stage2_functions.asm stage2_switch_mode.asm stage2_a20.asm