Rev 9968 | Rev 10002 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9968 | Rev 9969 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | format binary as "mnt" |
27 | format binary as "mnt" |
Line 28... | Line 28... | ||
28 | 28 | ||
29 | include 'macros.inc' |
29 | include 'macros.inc' |
Line 30... | Line 30... | ||
30 | include 'struct.inc' |
30 | include 'struct.inc' |
Line 31... | Line 31... | ||
31 | 31 | ||
32 | $Revision: 9968 $ |
32 | $Revision: 9969 $ |
Line 113... | Line 113... | ||
113 | mov edi, CLEAN_ZONE |
113 | mov edi, CLEAN_ZONE |
114 | mov ecx, (HEAP_BASE - OS_BASE - CLEAN_ZONE) / 4 |
114 | mov ecx, (HEAP_BASE - OS_BASE - CLEAN_ZONE) / 4 |
115 | cld |
115 | cld |
116 | rep stosd |
116 | rep stosd |
Line 117... | Line 117... | ||
117 | 117 | ||
118 | ; Clear kernel undefined globals and slots |
118 | ; Clear kernel undefined globals and some more (what exactly?) |
119 | mov edi, endofcode - OS_BASE |
119 | mov edi, endofcode - OS_BASE |
120 | mov ecx, VGABasePtr - endofcode ; why uglobals_size isn't enough? |
120 | mov ecx, 0x90000 ; why uglobals_size isn't enough? |
121 | sub ecx, edi |
121 | sub ecx, edi |
122 | shr ecx, 2 |
122 | shr ecx, 2 |
Line 123... | Line 123... | ||
123 | rep stosd |
123 | rep stosd |