drivers: loapic: move 'z_loapic_int_vec_set()' into pinned section
Move it out of boot section because it's also called by none-boot function 'loapic_resume()' at runtime. Better to keep boot-only things in boot section to avoid paging in boot section things at runtime. Signed-off-by: Dong Wang <dong.d.wang@intel.com>
This commit is contained in:
committed by
Alberto Escolar
parent
5d1afa1a3b
commit
22061bd7a8
@@ -200,7 +200,7 @@ uint32_t z_loapic_irq_base(void)
|
||||
*
|
||||
* This associates an IRQ with the desired vector in the IDT.
|
||||
*/
|
||||
__boot_func
|
||||
__pinned_func
|
||||
void z_loapic_int_vec_set(unsigned int irq, /* IRQ number of the interrupt */
|
||||
unsigned int vector /* vector to copy into the LVT */
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user