summaryrefslogtreecommitdiff
path: root/src/boot/magic.asm
blob: f7aaf0de29a02aecaa2341a717d65e07b7d3da07 (plain)
1
2
3
4
5
6
7
8
9
; pad rest of sector with zeroes so we get 512 bytes in the end
times 512-14-($-$$) db 0

; the magic string we search for in stage 2 to ensure we don't read
; a truncated kernel image
; we make it unique per compilation to avoid funny problems if
; the size of the image differs between compilation steps and the
; host system doens't initialize or randomize the RAM.
db "ABAOS", %[MAGIC], 0