Changeset 71422 in vbox for trunk/src/VBox/Devices/PC/BIOS
- Timestamp:
- Mar 21, 2018 11:20:00 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/system.c
r69501 r71422 104 104 "call pentry" \ 105 105 "pentry:" \ 106 "pop di" \107 "add di, 1Bh" \106 "pop ax" \ 107 "add ax, 1Bh" \ 108 108 "push 20h" \ 109 "push di" \109 "push ax" \ 110 110 "lgdt fword ptr es:[si+8]" \ 111 111 "lidt fword ptr cs:pmode_IDT" \ … … 233 233 "cld" \ 234 234 "rep movsw" \ 235 modify nomemory;235 modify [di] nomemory; 236 236 237 237 /* The pm_switch has a few crucial differences from pm_enter, hence … … 839 839 void BIOSCALL int15_blkmove(disk_regs_t r) 840 840 { 841 bx_bool prev_a20_enable;842 841 uint16_t base15_00; 843 842 uint8_t base23_16; … … 850 849 int_disable(); /// @todo aren't they disabled already? 851 850 852 prev_a20_enable = set_enable_a20(1);// enable A20 line851 set_enable_a20(1); // enable A20 line 853 852 854 853 // 128K max of transfer on 386+ ??? … … 906 905 pm_stack_restore(); 907 906 908 set_enable_a20( prev_a20_enable);907 set_enable_a20(0); // unconditionally disable A20 line 909 908 910 909 // turn interrupts back on
Note:
See TracChangeset
for help on using the changeset viewer.