Changeset 51725 in vbox
- Timestamp:
- Jun 25, 2014 11:57:41 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/pmsetup.inc
r51057 r51725 15 15 ;; 16 16 17 SVR equ 0FEE000F0h 17 18 LVT_LINT0 equ 0FEE00350h 18 19 LVT_LINT1 equ 0FEE00360h … … 20 21 public pmode_setup 21 22 22 ;; Program LINT0/LINT1 entries in the local APIC. Some Linux kernels (e.g.,23 ;; RHEL4 SMP 32-bit) expect the entries to be unmasked in virtual wire mode.24 ;; Also make sure APIC timer ismasked.23 ;; Enable the local APIC and program LINT0/LINT1 entries. Without that, 24 ;; virtual wire interrupts could not be delivered. Note that the APIC must 25 ;; be enabled first because when disabled, all LVTs are forced masked. 25 26 26 27 pmode_setup proc near … … 36 37 and eax, 09FFFFFFFh 37 38 mov cr0, eax 39 40 mov esi, SVR ; Program the SVR -- enable the APIC, 41 mov eax, 010Fh ; set spurious interrupt vector to 15 42 mov [esi], eax 38 43 39 44 mov esi, LVT_LINT0 ; Program LINT0 to ExtINT and unmask
Note:
See TracChangeset
for help on using the changeset viewer.