On Wed, Mar 02, 2016 at 11:22:30AM -0500, Brian Gerst wrote: > This should be: movq stack_start(%rip), %rsp
No it wouldn't. That doesn't work. > > + subq $__START_KERNEL_map, %rsp > > It would be better to add the offset to the initializer for > stack_start instead of adjusting it at runtime. That would require > moving the existing load of stack_start from the common path to the > secondary startup, This is the BSP we're talking about - no secondary startup. We want to run verify_cpu as early as possible. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.