OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Sep 24, 2021 6:44 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Updating Higher Half x86 Bare Bones.
PostPosted: Tue Feb 23, 2021 10:54 pm 
Offline

Joined: Tue Feb 23, 2021 10:25 pm
Posts: 2
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.

_________________
https://git.tcp.direct/Zoarial94/ZoarialBareOS


Top
 Profile  
 
 Post subject: Re: Updating Higher Half x86 Bare Bones.
PostPosted: Fri Feb 26, 2021 11:56 am 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 3356
Go for it.

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


Top
 Profile  
 
 Post subject: Re: Updating Higher Half x86 Bare Bones.
PostPosted: Sun May 30, 2021 5:00 am 
Offline

Joined: Sat Dec 12, 2020 10:51 am
Posts: 2
May worth making an x86_64 higher half tutorial as well.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group