Changeset 241 for trunk/hal/x86_64/core
- Timestamp:
- Jul 20, 2017, 10:13:25 AM (7 years ago)
- Location:
- trunk/hal/x86_64/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_acpi.c
r240 r241 135 135 } else if (sub->Type == ACPI_MADT_TYPE_LOCAL_APIC) { 136 136 lapic = (madt_lapic_t *)sub; 137 cpu_activate(lapic->Id); 138 x86_printf("-> found LAPIC %z\n", (uint64_t)lapic->Id); 139 ncpu++; 137 if (lapic->LapicFlags & ACPI_MADT_LAPIC_ENABLED) { 138 cpu_activate(lapic->Id); 139 x86_printf("-> found LAPIC %z\n", (uint64_t)lapic->Id); 140 ncpu++; 141 } 140 142 } 141 143 -
trunk/hal/x86_64/core/hal_acpi.h
r234 r241 146 146 ******************************************************************************/ 147 147 148 #define ACPI_MADT_LAPIC_ENABLED 0x01 149 148 150 enum AcpiMadtType { 149 151 ACPI_MADT_TYPE_LOCAL_APIC = 0,
Note: See TracChangeset
for help on using the changeset viewer.