OSDev.org
https://forum.osdev.org/

Updating Higher Half x86 Bare Bones.
https://forum.osdev.org/viewtopic.php?f=8&t=40999
Page 1 of 1

Author:  Zoarial94 [ Tue Feb 23, 2021 10:54 pm ]
Post subject:  Updating Higher Half x86 Bare Bones.

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.

Author:  Octocontrabass [ Fri Feb 26, 2021 11:56 am ]
Post subject:  Re: Updating Higher Half x86 Bare Bones.

Go for it.

At one point, _kernel_start included the entire kernel. It's not clear exactly why that changed.

Author:  atie [ Sun May 30, 2021 5:00 am ]
Post subject:  Re: Updating Higher Half x86 Bare Bones.

May worth making an x86_64 higher half tutorial as well.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/