summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-06-10 18:25:07 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-06-10 18:25:07 +0200
commitdaa69726b2f3c9d4256a8a3591364419039f772e (patch)
treeea9c04d204bf2f3a10dbc3e86bc17afe42c762fd /src/Makefile
parent82b2c8ddb429903da774b1a70585e6b47d60a2f4 (diff)
downloadabaos-daa69726b2f3c9d4256a8a3591364419039f772e.tar.gz
abaos-daa69726b2f3c9d4256a8a3591364419039f772e.tar.bz2
preparations for driver loading with PCI (BARs for I/O)
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 1609299..c7925bf 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -14,13 +14,13 @@ all: image.bin kernel.sym
# + 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, and stage 1 loads 3 sectors of stage 2,
-# adapt NOF_LOAD_SECTORS to 36)
+# adapt NOF_LOAD_SECTORS to 37)
# then we make sure the image has the size of a 1.44 MB floppy
# (emulators like qemu do some guess work for CHS resolution based
# on the size of the image)
image.bin: boot.bin kernel.bin magic.bin
cat boot.bin kernel.bin > image.tmp
- truncate -s 19968 image.tmp
+ truncate -s 20480 image.tmp
cat image.tmp magic.bin > image.bin
truncate -s 1474560 image.bin