diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-05-14 19:20:38 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-05-14 19:20:38 +0200 |
commit | d6b64c65a0d09dba96a65edd2959bd58fe781fcc (patch) | |
tree | 128d477bd5c1cdc7c7d0915355c910a34415571d /src/Makefile | |
parent | ba66b73ce7b4b83ba5dc0fe80695d2fbdd66dd80 (diff) | |
download | abaos-d6b64c65a0d09dba96a65edd2959bd58fe781fcc.tar.gz abaos-d6b64c65a0d09dba96a65edd2959bd58fe781fcc.tar.bz2 |
some small fixes, clang image overload (magic doesn't work, most likely because
memory is not wiped between qemu invocations)
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile index 52a628b..c2b91fa 100644 --- a/src/Makefile +++ b/src/Makefile @@ -11,8 +11,8 @@ image.bin: boot.bin kernel.bin magic.bin # + 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 10) - truncate -s 5632 image.tmp + # loads only the first sector, so adapt NOF_LOAD_SECTORS to 12) + truncate -s 6656 image.tmp cat image.tmp magic.bin > image.bin boot.bin: boot.asm gdt.asm stage1_functions.asm stage2_functions.asm switch_mode.asm |