X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=bootcensus;a=blobdiff_plain;f=src%2Fstartup.s;fp=src%2Fstartup.s;h=4e3238981398839a986ff70867e80c0a7384857a;hp=bff3991ff9e631fab41b2b4b419a3a68eba1f006;hb=d1e8a437c1fab4535f82c4c214ec3330ac32e48d;hpb=34ae2440d7cd133051523bce2aac0760cf8296eb diff --git a/src/startup.s b/src/startup.s index bff3991..4e32389 100644 --- a/src/startup.s +++ b/src/startup.s @@ -19,6 +19,7 @@ .extern _bss_start .extern _bss_end + .extern pcboot_main # zero the BSS section xor %eax, %eax @@ -29,7 +30,13 @@ rep stosl skip_bss_zero: + call pcboot_main + # pcboot_main never returns +0: cli + hlt + jmp 0b + .global logohack logohack: # copy palette mov $logo_pal, %esi