MCPcopy Create free account
hub / github.com/F-Stack/f-stack / native_lapic_disable

Function native_lapic_disable

freebsd/x86/x86/local_apic.c:1065–1074  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1063}
1064
1065static void
1066native_lapic_disable(void)
1067{
1068 uint32_t value;
1069
1070 /* Software disable the local APIC. */
1071 value = lapic_read32(LAPIC_SVR);
1072 value &= ~APIC_SVR_SWEN;
1073 lapic_write32(LAPIC_SVR, value);
1074}
1075
1076static void
1077lapic_enable(void)

Callers

nothing calls this directly

Calls 2

lapic_read32Function · 0.85
lapic_write32Function · 0.85

Tested by

no test coverage detected