VirtualBox

Changeset 39109 in vbox for trunk/src/VBox/Devices/PC


Ignore:
Timestamp:
Oct 25, 2011 12:24:14 PM (13 years ago)
Author:
vboxsync
Message:

BIOS: Leave high interrupt vectors zeroed to indicate they are unused.

Location:
trunk/src/VBox/Devices/PC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS-new/orgs.asm

    r39017 r39109  
    309309                xor     bx, bx
    310310                mov     ds, bx
    311                 mov     cx, 100h        ; 256 interrupts
     311                mov     cx, 78h         ; leave the rest as zeros
    312312                mov     ax, dummy_iret
    313313                mov     dx, BIOSSEG
  • trunk/src/VBox/Devices/PC/BIOS/rombios.c

    r39017 r39109  
    1153611536  ;; set all interrupts to default handler
    1153711537  xor  bx, bx         ;; offset index
    11538   mov  cx, #0x0100    ;; counter (256 interrupts)
     11538  mov  cx, #0x0078    ;; leave the rest as zeros
    1153911539  mov  ax, #dummy_iret_handler
    1154011540  mov  dx, #0xF000
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette