| 33 | } |
| 34 | |
| 35 | void Enable(){ |
| 36 | WriteBase(ReadBase() | (1UL << 11)); |
| 37 | |
| 38 | Write(LOCAL_APIC_SIVR, Read(LOCAL_APIC_SIVR) | 0x1FF /* Enable APIC, Vector 255*/); |
| 39 | } |
| 40 | |
| 41 | int Initialize(){ |
| 42 | Local::base = ReadBase() & LOCAL_APIC_BASE; |
no test coverage detected