OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Mar 29, 2024 7:30 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: OS module dependencies
PostPosted: Sat Aug 13, 2016 2:57 pm 
Offline

Joined: Thu Nov 08, 2012 2:59 am
Posts: 15
I am currently trying to map out what systems would depend on what, and I wanted to get a second opinion. I've include an excel file with the dependencies I mapped out, and if anyone can give me any suggestions, That would be greatly appreciated.

edit: could not attach the excel file, so I attached a screenshot image of the file.


Attachments:
Capture.PNG
Capture.PNG [ 119 KiB | Viewed 3625 times ]
Top
 Profile  
 
 Post subject: Re: OS module dependencies
PostPosted: Sat Aug 13, 2016 3:30 pm 
Offline
Member
Member
User avatar

Joined: Thu Aug 06, 2015 6:41 am
Posts: 97
Location: Netherlands
Hardware detection depends on PCI, and networking depends on hardware detection.
Also, why do memory management and paging depend on text display? Maybe for debugging... but in the end my memory manager does just fine without a 'print' function.


Last edited by sleephacker on Sat Aug 13, 2016 3:35 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: OS module dependencies
PostPosted: Sat Aug 13, 2016 3:32 pm 
Offline

Joined: Thu Nov 08, 2012 2:59 am
Posts: 15
Would I be correct in assuming that PCI depends on Port IO?


Top
 Profile  
 
 Post subject: Re: OS module dependencies
PostPosted: Sat Aug 13, 2016 3:35 pm 
Offline
Member
Member
User avatar

Joined: Thu Aug 06, 2015 6:41 am
Posts: 97
Location: Netherlands
BringerOfShadows wrote:
Would I be correct in assuming that PCI depends on Port IO?
That assumption is correct indeed.


Top
 Profile  
 
 Post subject: Re: OS module dependencies
PostPosted: Sat Aug 13, 2016 9:20 pm 
Offline
Member
Member
User avatar

Joined: Sat Jan 15, 2005 12:00 am
Posts: 8561
Location: At his keyboard!
Hi,

BringerOfShadows wrote:
I am currently trying to map out what systems would depend on what, and I wanted to get a second opinion. I've include an excel file with the dependencies I mapped out, and if anyone can give me any suggestions, That would be greatly appreciated.


There shouldn't be any need for "keyboard, basic".

For "keyboard, advanced", it depends on USB controller, file access, memory allocation and IPC (e.g. it needs to load a "keyboard layout description" from disk, needs to send "keyboard events" using some kind of communication with user-space). For "USB controller", it depends on hardware detection, port IO, IRQs and memory allocation.

Also note that if your OS design can't (eventually) be used on a tablet or a "headless" server (where there is no video or keyboard or mouse and you use something like networking/telnet/SSH or maybe just terminal connected to serial port to log in) then your OS design is broken (unsuitable for smaller machines and unsuitable for larger machines). For this reason "command line" can't depend on "keyboard, advanced". Instead it should depend on "IPC" (e.g. pipes - like "stdin" and "stdout").

"IPC" depends on memory management and scheduler (e.g. "read()" from a pipe can cause the task to block until there's data available).


Cheers,

Brendan

_________________
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.


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

All times are UTC - 6 hours


Who is online

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