Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

lapic: apic_initialize() -> lapic_init()

  • Loading branch information...
commit 5ddeabb9d12fe7f63bcddc0cc215c2e68004cac5 1 parent 9d758cc
authored March 19, 2011
2  sys/platform/pc32/apic/mpapic.c
@@ -124,7 +124,7 @@ static struct ioapic_conf	ioapic_conf;
124 124
  * Enable LAPIC, configure interrupts.
125 125
  */
126 126
 void
127  
-apic_initialize(boolean_t bsp)
  127
+lapic_init(boolean_t bsp)
128 128
 {
129 129
 	uint32_t timer;
130 130
 	u_int   temp;
4  sys/platform/pc32/i386/mp_machdep.c
@@ -2162,7 +2162,7 @@ start_all_aps(u_int boot_addr)
2162 2162
 	POSTCODE(START_ALL_APS_POST);
2163 2163
 
2164 2164
 	/* Initialize BSP's local APIC */
2165  
-	apic_initialize(TRUE);
  2165
+	lapic_init(TRUE);
2166 2166
 
2167 2167
 	/* Finalize PIC */
2168 2168
 	MachIntrABI.finalize();
@@ -2808,7 +2808,7 @@ ap_init(void)
2808 2808
 	}
2809 2809
 
2810 2810
 	/* Initialize AP's local APIC for irq's */
2811  
-	apic_initialize(FALSE);
  2811
+	lapic_init(FALSE);
2812 2812
 
2813 2813
 	/* Set memory range attributes for this CPU to match the BSP */
2814 2814
 	mem_range_AP_init();
2  sys/platform/pc32/include/smp.h
@@ -149,7 +149,7 @@ extern int			lapic_id_max;
149 149
 
150 150
 /* functions in mpapic.c */
151 151
 void	apic_dump		(char*);
152  
-void	apic_initialize		(boolean_t);
  152
+void	lapic_init		(boolean_t);
153 153
 void	imen_dump		(void);
154 154
 int	apic_ipi		(int, int, int);
155 155
 void	selected_apic_ipi	(cpumask_t, int, int);
2  sys/platform/pc64/apic/mpapic.c
@@ -131,7 +131,7 @@ lapic_eoi(void)
131 131
  * Enable LAPIC, configure interrupts.
132 132
  */
133 133
 void
134  
-apic_initialize(boolean_t bsp)
  134
+lapic_init(boolean_t bsp)
135 135
 {
136 136
 	uint32_t timer;
137 137
 	u_int   temp;
2  sys/platform/pc64/include/smp.h
@@ -160,7 +160,7 @@ extern int			lapic_id_max;
160 160
 
161 161
 /* functions in mpapic.c */
162 162
 void	apic_dump		(char*);
163  
-void	apic_initialize		(boolean_t);
  163
+void	lapic_init		(boolean_t);
164 164
 void	imen_dump		(void);
165 165
 int	apic_ipi		(int, int, int);
166 166
 void	selected_apic_ipi	(cpumask_t, int, int);
4  sys/platform/pc64/x86_64/mp_machdep.c
@@ -2159,7 +2159,7 @@ start_all_aps(u_int boot_addr)
2159 2159
 	POSTCODE(START_ALL_APS_POST);
2160 2160
 
2161 2161
 	/* Initialize BSP's local APIC */
2162  
-	apic_initialize(TRUE);
  2162
+	lapic_init(TRUE);
2163 2163
 
2164 2164
 	/* Finalize PIC */
2165 2165
 	MachIntrABI.finalize();
@@ -2799,7 +2799,7 @@ ap_init(void)
2799 2799
 	}
2800 2800
 
2801 2801
 	/* Initialize AP's local APIC for irq's */
2802  
-	apic_initialize(FALSE);
  2802
+	lapic_init(FALSE);
2803 2803
 
2804 2804
 	/* Set memory range attributes for this CPU to match the BSP */
2805 2805
 	mem_range_AP_init();

0 notes on commit 5ddeabb

Please sign in to comment.
Something went wrong with that request. Please try again.