Updating Higher Half x86 Bare Bones.

All about the OSDev Wiki. Discussions about the organization and general structure of articles and how to use the wiki. Request changes here if you don't know how to use the wiki.
Post Reply
Zoarial94
Posts: 2
Joined: Tue Feb 23, 2021 10:25 pm

Updating Higher Half x86 Bare Bones.

Post by Zoarial94 »

I would like to state before hand, that I am relatively new to the OSDev scene and I may not have any idea of what I'm about to say.

I recently starting trying to incorporate Higher Half x86 Bare Bones into my project, but I was unable to get it to work.

After some digging, I wound up in the same position as the person in this post.

The solution I found was to move _kernel_start to include the multiboot text and data. I believe the problem was that once paging was enabled, the next instruction to jump to the higher half was no longer accessible/mapped.
You have to adjust the initial loop because _kernel_start is no longer in the 0xC0000000 range, but other than that, its a simple fix.

I'm just looking for some confirmation here; I don't want to go editing any wiki pages if I didn't know what I was doing. Any feedback would be appreciated.
Octocontrabass
Member
Member
Posts: 5560
Joined: Mon Mar 25, 2013 7:01 pm

Re: Updating Higher Half x86 Bare Bones.

Post by Octocontrabass »

Go for it.

At one point, _kernel_start included the entire kernel. It's not clear exactly why that changed.
atie
Posts: 2
Joined: Sat Dec 12, 2020 10:51 am

Re: Updating Higher Half x86 Bare Bones.

Post by atie »

May worth making an x86_64 higher half tutorial as well.
Post Reply