Changeset 79655 in vbox for trunk/src/VBox/Devices/PC/BIOS
- Timestamp:
- Jul 10, 2019 8:18:56 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 131963
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/post.c
r76553 r79655 70 70 } 71 71 72 /* The ROM init routine might trash register. Give the compiler a heads-up. */ 73 typedef void (rom_init_rtn)(void); 74 #pragma aux rom_init_rtn modify [ax bx cx dx si di es] loadds; 75 72 76 /* Scan for ROMs in the given range and execute their POST code. */ 73 77 void rom_scan(uint16_t start_seg, uint16_t end_seg) … … 84 88 DPRINT("Found ROM at segment %04X\n", start_seg); 85 89 if (!rom_checksum((void __far *)rom, rom->num_blks)) { 86 void (__far * rom_init)(void);90 rom_init_rtn __far *rom_init; 87 91 88 92 /* Checksum good, initialize ROM. */
Note:
See TracChangeset
for help on using the changeset viewer.