GetNextProcNumber:\r
cmp dword [edi], edx ; APIC ID match?\r
jz ProgramStack\r
- add edi, 16\r
+ add edi, 20\r
inc ebx\r
jmp GetNextProcNumber \r
\r
ProgramStack:\r
- xor rsp, rsp\r
- mov esp, dword [edi + 12]\r
+ mov rsp, qword [edi + 12]\r
\r
CProcedureInvoke:\r
push rbp ; Push BIST data at top of AP stack\r