OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 5:42 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: OS plans this winter holiday
PostPosted: Tue Jan 17, 2017 1:10 pm 
Offline
Member
Member
User avatar

Joined: Sat Dec 27, 2014 9:11 am
Posts: 901
Location: Maadi, Cairo, Egypt
My last exam is on the 23rd of January, and then I'll be on holiday until some time in early/middle of February. I plan to dedicate most of this time to my OS.
Things that are rather high in my priority list (in this order):
  • Implement file system write access, and port FASM.
  • Write a very simple text editor (which basically means implement a textbox component.)
  • Write a driver for UHCI and OHCI because getting my old PS/2 mouse to work is such a pain when the button is broken...
This is probably all I can do in about a month, and most likely I won't be able to achieve this whole list in just a month, because it's a big set of goals, but after implementing the first two I'll be self hosting. :P

So, what are you guys planning to do this coming time?

_________________
You know your OS is advanced when you stop using the Intel programming guide as a reference.


Top
 Profile  
 
 Post subject: Re: OS plans this winter holiday
PostPosted: Tue Jan 17, 2017 1:39 pm 
Offline
Member
Member
User avatar

Joined: Thu Mar 27, 2014 3:57 am
Posts: 568
Location: Moscow, Russia
I have three projects on my todo list (sorted by priority):
– my microkernel (Serelix);
– an app that lets you turn your iPad into an AirPlay receiver, that would allow using an iPad as an external display for a Mac;
– maybe an iOS client for MPD.

_________________
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
- Alan Kay


Top
 Profile  
 
 Post subject: Re: OS plans this winter holiday
PostPosted: Wed Jan 18, 2017 8:19 am 
Offline
Member
Member

Joined: Wed Oct 26, 2011 12:00 pm
Posts: 202
Converting 10 or so drivers (including an entire USB-stack with OHCI, UHCI, EHCI, MSD + HID) to user-space drivers, and they need to conform to my new driver/device interface I've built the past month. It's gonna take forever :oops: It was a lot more work than i thought converting my kernel to a more micro-kernel approach. And if I have time I'm going to do some improvements to my filesystem! :D

_________________
mollenos | gracht (protocol library) | vioarr (window-manager) | bake (package manager)


Top
 Profile  
 
 Post subject: Re: OS plans this winter holiday
PostPosted: Wed Jan 18, 2017 11:44 am 
Offline
Member
Member

Joined: Sat Mar 01, 2014 2:59 pm
Posts: 1146
MollenOS wrote:
Converting 10 or so drivers (including an entire USB-stack with OHCI, UHCI, EHCI, MSD + HID) to user-space drivers, and they need to conform to my new driver/device interface I've built the past month.
Cool, someone else with userspace drivers! I doubt they're anything like mine though - mine doesn't support USB to begin with. :P

_________________
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.

Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing


Top
 Profile  
 
 Post subject: Re: OS plans this winter holiday
PostPosted: Wed Jan 18, 2017 4:15 pm 
Offline
Member
Member

Joined: Sun Feb 01, 2009 6:11 am
Posts: 1070
Location: Germany
Do you think it's so unusual to have userspace drivers? A while ago I had the impressions that, apart from OSes in their Hello World stage, models with at least some userspace drivers were actually more popular than pure monolithic kernels.

Anyway, I'm another one with userspace drivers.

_________________
Developer of tyndur - community OS of Lowlevel (German)


Top
 Profile  
 
 Post subject: Re: OS plans this winter holiday
PostPosted: Thu Jan 19, 2017 10:05 am 
Offline
Member
Member

Joined: Sat Mar 01, 2014 2:59 pm
Posts: 1146
Kevin wrote:
Do you think it's so unusual to have userspace drivers? A while ago I had the impressions that, apart from OSes in their Hello World stage, models with at least some userspace drivers were actually more popular than pure monolithic kernels.

Anyway, I'm another one with userspace drivers.
I thought userspace drivers were typically regarded as less secure and more clumsy to implement. Currently I don't have much in the way of protection in my OS (i.e. any code can access the hardware directly) but once that's sorted out I plan on having drivers contain a particular metadata bit to indicate "this code needs direct access to the hardware" probably accompanied by some form of user authorisation (i.e. an alert asking "Do you want to allow <name of driver> to have direct hardware access?" when the driver is loaded for the first time).

_________________
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.

Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing


Top
 Profile  
 
 Post subject: Re: OS plans this winter holiday
PostPosted: Thu Jan 19, 2017 11:29 am 
Offline
Member
Member

Joined: Sun Feb 01, 2009 6:11 am
Posts: 1070
Location: Germany
How could they possibly be less secure than drivers in a monolithic kernel? It's true that, at least without an IOMMU, a malicious hardware driver probably has ways to escape into ring 0 and get access to kernel memory or other processes. Exploiting a buggy driver to do the same thing might not be that easy, though. And without an attempt to exploit, a buggy driver will likely just crash itself instead of overwriting memory of the kernel or other drivers.

So in comparison with a monolithic kernel, where the driver would be in ring 0 to begin with, we definitely didn't lose anything, but probably have reduced the impact of driver bugs.

About "clumsy to implement", I'm not sure if I would call it "clumsy", but certainly a bit harder - even more so, if you care about performance.

_________________
Developer of tyndur - community OS of Lowlevel (German)


Top
 Profile  
 
 Post subject: Re: OS plans this winter holiday
PostPosted: Thu Jan 19, 2017 2:26 pm 
Offline
Member
Member
User avatar

Joined: Fri Mar 07, 2008 5:36 pm
Posts: 2111
Location: Bucharest, Romania
PC firmware can present USB HID devices as PS/2 ones so there's no need to go through the trouble of implementing an USB stack and controller drivers.

_________________
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]


Top
 Profile  
 
 Post subject: Re: OS plans this winter holiday
PostPosted: Fri Jan 27, 2017 8:52 am 
Offline

Joined: Wed Jan 25, 2017 8:16 am
Posts: 23
I like your plans. I would love to see more programs and a start menu. Looking good!

_________________
One day in the future... computers will be holograms...


Top
 Profile  
 
 Post subject: Re: OS plans this winter holiday
PostPosted: Fri Jan 27, 2017 11:05 am 
Offline
Member
Member
User avatar

Joined: Sat Dec 27, 2014 9:11 am
Posts: 901
Location: Maadi, Cairo, Egypt
stevej150 wrote:
I like your plans. I would love to see more programs and a start menu. Looking good!

I've already started very early work on a graphical shell. This is the program which will provide a start menu and a "run program" dialog.

_________________
You know your OS is advanced when you stop using the Intel programming guide as a reference.


Top
 Profile  
 
 Post subject: Re: OS plans this winter holiday
PostPosted: Fri Jan 27, 2017 11:50 am 
Offline
Member
Member
User avatar

Joined: Tue Aug 02, 2016 1:52 pm
Posts: 286
Location: East Riding of Yorkshire, UK
omarrx024 wrote:
stevej150 wrote:
I like your plans. I would love to see more programs and a start menu. Looking good!

I've already started very early work on a graphical shell. This is the program which will provide a start menu and a "run program" dialog.

The LICENSE file in the root of your project states that it's licensed under the MIT license, while at the top of your files you add "Copyright [...] all rights reserved". Which is it?

_________________
com.sun.java.swing.plaf.nimbus.InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState
Compiler Development Forum


Top
 Profile  
 
 Post subject: Re: OS plans this winter holiday
PostPosted: Fri Jan 27, 2017 12:54 pm 
Offline
Member
Member
User avatar

Joined: Sat Dec 27, 2014 9:11 am
Posts: 901
Location: Maadi, Cairo, Egypt
matt11235 wrote:
The LICENSE file in the root of your project states that it's licensed under the MIT license, while at the top of your files you add "Copyright [...] all rights reserved". Which is it?

It's MIT. I'll update the copyright notices tonight.

_________________
You know your OS is advanced when you stop using the Intel programming guide as a reference.


Top
 Profile  
 
 Post subject: Re: OS plans this winter holiday
PostPosted: Sat Jan 28, 2017 8:38 am 
Offline
Member
Member
User avatar

Joined: Thu Jul 12, 2012 7:29 am
Posts: 723
Location: Tallinn, Estonia
matt11235 wrote:
The LICENSE file in the root of your project states that it's licensed under the MIT license, while at the top of your files you add "Copyright [...] all rights reserved". Which is it?


AFAIK, MIT license does not void the copyright.

_________________
Learn to read.


Top
 Profile  
 
 Post subject: Re: OS plans this winter holiday
PostPosted: Sun Jan 29, 2017 2:45 am 
Offline
Member
Member

Joined: Sun Feb 01, 2009 6:11 am
Posts: 1070
Location: Germany
It doesn't, but depending on how you read it, it contradicts the "All rights reserved".

_________________
Developer of tyndur - community OS of Lowlevel (German)


Top
 Profile  
 
 Post subject: Re: OS plans this winter holiday
PostPosted: Sun Jan 29, 2017 5:23 am 
Offline
Member
Member
User avatar

Joined: Thu Jul 12, 2012 7:29 am
Posts: 723
Location: Tallinn, Estonia
Kevin wrote:
It doesn't, but depending on how you read it, it contradicts the "All rights reserved".


Agree.

Details: "Originating in the Buenos Aires Convention of 1910, it no longer has any legal effect in any jurisdiction." the phrase itself does not bear any effect, but as "a handy convention widely used by artists, writers, and content creators to prevent ambiguity and clearly spell out the warning that their content cannot be copied freely." it completely contradicts the MIT license terms.

Source https://en.wikipedia.org/wiki/All_rights_reserved

_________________
Learn to read.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

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