Symmetric Multiprocessing: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
m added running AP counter
m Changed %rsp to %esp, as %rsp is not available in protected mode
Line 179:
; set up 32k stack, one for each core. It is important that all core must have its own stack
shll $15, %ebx
movl stack_top, %rspesp
subl %ebx, %rspesp
pushl %edi
; spinlock, wait for the BSP to finish