Permalink
Browse files

lapic: apic_initialize() -> lapic_init()

  • Loading branch information...
1 parent 9d758cc commit 5ddeabb9d12fe7f63bcddc0cc215c2e68004cac5 Sepherosa Ziehau committed Mar 19, 2011
@@ -124,7 +124,7 @@ static struct ioapic_conf ioapic_conf;
* Enable LAPIC, configure interrupts.
*/
void
-apic_initialize(boolean_t bsp)
+lapic_init(boolean_t bsp)
{
uint32_t timer;
u_int temp;
@@ -2162,7 +2162,7 @@ start_all_aps(u_int boot_addr)
POSTCODE(START_ALL_APS_POST);
/* Initialize BSP's local APIC */
- apic_initialize(TRUE);
+ lapic_init(TRUE);
/* Finalize PIC */
MachIntrABI.finalize();
@@ -2808,7 +2808,7 @@ ap_init(void)
}
/* Initialize AP's local APIC for irq's */
- apic_initialize(FALSE);
+ lapic_init(FALSE);
/* Set memory range attributes for this CPU to match the BSP */
mem_range_AP_init();
@@ -149,7 +149,7 @@ extern int lapic_id_max;
/* functions in mpapic.c */
void apic_dump (char*);
-void apic_initialize (boolean_t);
+void lapic_init (boolean_t);
void imen_dump (void);
int apic_ipi (int, int, int);
void selected_apic_ipi (cpumask_t, int, int);
@@ -131,7 +131,7 @@ lapic_eoi(void)
* Enable LAPIC, configure interrupts.
*/
void
-apic_initialize(boolean_t bsp)
+lapic_init(boolean_t bsp)
{
uint32_t timer;
u_int temp;
@@ -160,7 +160,7 @@ extern int lapic_id_max;
/* functions in mpapic.c */
void apic_dump (char*);
-void apic_initialize (boolean_t);
+void lapic_init (boolean_t);
void imen_dump (void);
int apic_ipi (int, int, int);
void selected_apic_ipi (cpumask_t, int, int);
@@ -2159,7 +2159,7 @@ start_all_aps(u_int boot_addr)
POSTCODE(START_ALL_APS_POST);
/* Initialize BSP's local APIC */
- apic_initialize(TRUE);
+ lapic_init(TRUE);
/* Finalize PIC */
MachIntrABI.finalize();
@@ -2799,7 +2799,7 @@ ap_init(void)
}
/* Initialize AP's local APIC for irq's */
- apic_initialize(FALSE);
+ lapic_init(FALSE);
/* Set memory range attributes for this CPU to match the BSP */
mem_range_AP_init();

0 comments on commit 5ddeabb

Please sign in to comment.