Some PCI 3 BIOSes seem to provide a garbage value in %bx, which should contain the runtime segment address. Perform a basic sanity check: we reject the segment if it is below the start of option ROM space. If the sanity check fails, we assume that the BIOS was not expecting us to be a PCI 3 ROM, and we just leave our image in situ.tags/v0.9.6
|
||
205 | 205 |
|
206 | 206 |
|
207 | 207 |
|
208 |
|
|
209 |
|
|
210 |
|
|
211 |
|
|
208 | 212 |
|
213 |
|
|
214 |
|
|
215 |
|
|
216 |
|
|
217 |
|
|
209 | 218 |
|
210 | 219 |
|
211 | 220 |
|