| 62 | } |
| 63 | |
| 64 | void SendIPI(uint8_t destination, uint32_t dsh /* Destination Shorthand*/, uint32_t type, uint8_t vector){ |
| 65 | uint32_t high = ((uint32_t)destination) << 24; |
| 66 | uint32_t low = dsh | type | ICR_VECTOR(vector); |
| 67 | |
| 68 | Write(LOCAL_APIC_ICR_HIGH, high); |
| 69 | Write(LOCAL_APIC_ICR_LOW, low); |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | namespace IO { |
no test coverage detected