Skip to content

Commit

Permalink
x86_64: call lnmiConfigure() after each CPU core boots
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Oct 8, 2024
1 parent a9550e8 commit 3327a16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/platform/x86_64/apic/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,8 @@ void smpCPUInfoSetup() {

if(cpu->bootCPU) bootCPUInfo = info;

//KDEBUG("per-CPU kernel info struct for CPU %d is at 0x%08X\n", info->cpuIndex, (uint64_t)info);

tssSetup();
lnmiConfigure();
}

/* apMain(): entry points for application processors */
Expand Down
1 change: 1 addition & 0 deletions src/platform/x86_64/include/platform/apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ int ioapicMask(int, int);

int lnmiRegister(LocalNMI *);
int lnmiCount();
int lnmiConfigure();

int overrideIRQRegister(IRQOverride *);
int overrideIRQCount();
Expand Down

0 comments on commit 3327a16

Please sign in to comment.