I'm writing a minimal OS from scratch. I enabled paging and long mode but when I want to set up the stack I have a few questions.
Does the stack pointer contain a virtual address automatically translated to physical address by the MMU when using PUSH, POP instructions?
Is the position of the stack mentionned in and ELF file?