Some really moronic BIOSes bring up the PXE stack via the UNDI loader entry point during POST, and then don't bother to unload it before overwriting the code and data segments. If this happens, we really don't want to leave INT 15 hooked, because that will cause any loaded OS to die horribly as soon as it attempts to fetch the system memory map. We use a heuristic to detect whether or not we are being loaded at the top of free base memory. If we determine that we are being loaded at some other arbitrary location in base memory, then we assume that it's not safe to hook INT 15.tags/v0.9.4
|
|
||
64 |
|
64 |
|
65 |
|
65 |
|
66 |
|
66 |
|
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
67 |
|
71 |
|
68 |
|
72 |
|
69 |
|
73 |
|
|
|
||
123 |
|
127 |
|
124 |
|
128 |
|
125 |
|
129 |
|
|
130 |
|
|
|
131 |
|
|
|
132 |
|
|
126 |
|
133 |
|
127 |
|
134 |
|
128 |
|
135 |
|
|
|
||
133 |
|
140 |
|
134 |
|
141 |
|
135 |
|
142 |
|
|
143 |
|
|
|
144 |
|
|
|
145 |
|
|
|
146 |
|
|
|
147 |
|
|
|
148 |
|
|
|
149 |
|
|
|
150 |
|
|
|
151 |
|
|
|
152 |
|
|
|
153 |
|
|
|
154 |
|
|
|
155 |
|
|
|
156 |
|
|
|
157 |
|
|
|
158 |
|
|
|
159 |
|
|
|
160 |
|
|
|
161 |
|
|
|
162 |
|
|
136 |
|
163 |
|
137 |
|
164 |
|
138 |
|
165 |
|