mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[kernel] Add index to cpu_data
Because the firmware can set the APIC ids to whatever it wants, add a sequential index to each cpu_data structure that jsix will use for its main identifier, or for indexing into arrays, etc.
This commit is contained in:
@@ -7,7 +7,9 @@ endstruc
|
||||
|
||||
struc CPU_DATA
|
||||
.self: resq 1
|
||||
.id: resq 1
|
||||
.id: resw 1
|
||||
.index: resw 1
|
||||
.reserved resd 1
|
||||
.rsp0: resq 1
|
||||
.rsp3: resq 1
|
||||
.tcb: resq 1
|
||||
|
||||
Reference in New Issue
Block a user