Sujet : Re: [OSDev] How to switch to long mode in x86 CPUs?
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 27. Feb 2025, 23:02:58
Autres entêtes
Organisation : None to speak of
Message-ID : <87y0xrnizx.fsf@nosuchdomain.example.com>
References : 1
User-Agent : Gnus/5.13 (Gnus v5.13)
Ar Rakin <
rakinar2@onesoftnet.eu.org> writes:
Hello there,
>
I am trying to develop my own, simple operating system to learn more
about how kernels work and low level stuff like that. However, I am
stuck at setting up paging while switching long mode (64-bit protected
mode) in x86 processors.
>
The assembly code I currently have:
>
[67 lines deleted]
>
I am not sure what is wrong, but when I run my kernel in
[...]
>
If anyone knows what is wrong with this code, please let me know. Any
help will be appreciated!
You're asking about x86 assembly language, not C, so you're not likely
to get help here. I'm not sure whether there's a newsgroup where your
question would be on-topic. (comp.lang.asm.x86 appears to be dead.)
You might consider posting on Stack Overflow.
(Everyone else: Let's not start a debate about the merits of Stack
Overflow.)
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */