cosmetics
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1098 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
0ac6b41e70
commit
f72ff36e76
|
@ -99,12 +99,14 @@ static void notify_bsp_ap_is_stopped(void)
|
|||
unsigned long apic_id;
|
||||
apic_id = *((volatile unsigned long *)(APIC_DEFAULT_BASE+APIC_ID));
|
||||
apic_id >>= 24;
|
||||
/* print_debug("applicaton cpu apic_id: ");
|
||||
#if 0
|
||||
print_debug("applicaton cpu apic_id: ");
|
||||
print_debug_hex32(apic_id);
|
||||
print_debug("\r\n");
|
||||
}*/
|
||||
if(apic_id!=0) { //AP apic_id == node_id ??
|
||||
// set the ColdResetbit to notify BSP that AP is stopped
|
||||
#endif
|
||||
/* AP apic_id == node_id ? */
|
||||
if(apic_id != 0) {
|
||||
/* set the ColdResetbit to notify BSP that AP is stopped */
|
||||
reg = pci_read_config32(NODE_HT(apic_id), 0x6C);
|
||||
reg |= 1<<4;
|
||||
pci_write_config32(NODE_HT(apic_id), 0x6C, reg);
|
||||
|
|
Loading…
Reference in New Issue