Changeset d0780b4c in mainline for arch/ia32/src/smp/apic.c
- Timestamp:
- 2006-01-29T19:55:08Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- df09142f
- Parents:
- 457d18a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/smp/apic.c
r457d18a rd0780b4c 45 45 * Advanced Programmable Interrupt Controller for SMP systems. 46 46 * Tested on: 47 * Bochs 2.0.2 - Bochs 2.2. 5with 2-8 CPUs47 * Bochs 2.0.2 - Bochs 2.2.6 with 2-8 CPUs 48 48 * Simics 2.0.28 - Simics 2.2.19 2-15 CPUs 49 49 * VMware Workstation 5.5 with 2 CPUs … … 309 309 lvt_error_t error; 310 310 lvt_lint_t lint; 311 tpr_t tpr; 311 312 svr_t svr; 312 313 icr_t icr; … … 331 332 lint.masked = true; 332 333 l_apic[LVT_LINT1] = lint.value; 334 335 /* Task Priority Register initialization. */ 336 tpr.value = l_apic[TPR]; 337 tpr.pri_sc = 0; 338 tpr.pri = 0; 339 l_apic[TPR] = tpr.value; 333 340 334 341 /* Spurious-Interrupt Vector Register initialization. */ … … 336 343 svr.vector = VECTOR_APIC_SPUR; 337 344 svr.lapic_enabled = true; 345 svr.focus_checking = true; 338 346 l_apic[SVR] = svr.value; 339 340 l_apic[TPR] &= TPRClear;341 347 342 348 if (CPU->arch.family >= 6)
Note:
See TracChangeset
for help on using the changeset viewer.