initial commit
[bootcensus] / src / startup.s
1         .code32
2         .section .startup
3
4         .extern _bss_start
5         .extern _bss_end
6
7         xor %eax, %eax
8         mov _bss_start, %edi
9         mov _bss_size, %ecx
10         shr $4, %ecx
11         rep stosl