OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 3:01 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: ExoKernels on x86
PostPosted: Mon Aug 22, 2022 12:24 pm 
Offline

Joined: Thu Mar 31, 2022 1:39 pm
Posts: 4
Hello im an amateur OSdev who already worked on a simple Monolothic Kernel. Since i started learning Kernel Design Theory i was fascinated by ExoKernels. So i was asking how could i implement my own Exo in x86?
Should I switch to ring3 for applications?
Where do i implement the Memory Manager the common Drivers and the other Kernel services? Is it all done by libOs?

Thanks in advance.


Top
 Profile  
 
 Post subject: Re: ExoKernels on x86
PostPosted: Wed Sep 14, 2022 8:17 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5099
Maqstcharub wrote:
So i was asking how could i implement my own Exo in x86?

Not too different from how you implement any other kernel, just with fewer abstractions. Instead of filesystems, you have block devices. Instead of a network stack, you have packet devices.

Maqstcharub wrote:
Should I switch to ring3 for applications?

Probably, yes. The kernel's job is to multiplex hardware, so running applications in ring 3 ensures that applications can only access things they have permission to access. (Of course, if they can access DMA-capable hardware, they may be able to bypass some of the protection ring 3 offers...)

Maqstcharub wrote:
Where do i implement the Memory Manager the common Drivers and the other Kernel services?

Wherever you like. Put those all in the kernel and you'll have a monolithic exokernel. Put those all in userspace and you'll have a micro-exokernel.


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 24 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