smp: enable smp
This is a very large patch. Don't feel like splitting it up. Change locking discipline for rbtrees. Most changes are this. Fix stack init logic for application processors, and start them up. Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
33d6f72cfe
commit
3e5abada9b
17 changed files with 123 additions and 52 deletions
|
|
@ -10,3 +10,12 @@ arch_stack_init:
|
|||
mov rbp, rsp
|
||||
push rdx
|
||||
ret
|
||||
|
||||
.global ap_trampoline_2
|
||||
ap_trampoline_2:
|
||||
add rdi, rsi
|
||||
mov rsp, rdi
|
||||
mov rbp, rsp
|
||||
mov rdi, 0
|
||||
mov rsi, rdx
|
||||
jmp ap_init
|
||||
|
|
|
|||
Loading…
Reference in a new issue