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

OS plans this winter holiday
https://forum.osdev.org/viewtopic.php?f=11&t=31260
Page 1 of 2

Author:  BrightLight [ Tue Jan 17, 2017 1:10 pm ]
Post subject:  OS plans this winter holiday

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?

Author:  Roman [ Tue Jan 17, 2017 1:39 pm ]
Post subject:  Re: OS plans this winter holiday

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.

Author:  MollenOS [ Wed Jan 18, 2017 8:19 am ]
Post subject:  Re: OS plans this winter holiday

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

Author:  onlyonemac [ Wed Jan 18, 2017 11:44 am ]
Post subject:  Re: OS plans this winter holiday

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

Author:  Kevin [ Wed Jan 18, 2017 4:15 pm ]
Post subject:  Re: OS plans this winter holiday

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.

Author:  onlyonemac [ Thu Jan 19, 2017 10:05 am ]
Post subject:  Re: OS plans this winter holiday

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).

Author:  Kevin [ Thu Jan 19, 2017 11:29 am ]
Post subject:  Re: OS plans this winter holiday

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.

Author:  Love4Boobies [ Thu Jan 19, 2017 2:26 pm ]
Post subject:  Re: OS plans this winter holiday

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.

Author:  stevej150 [ Fri Jan 27, 2017 8:52 am ]
Post subject:  Re: OS plans this winter holiday

I like your plans. I would love to see more programs and a start menu. Looking good!

Author:  BrightLight [ Fri Jan 27, 2017 11:05 am ]
Post subject:  Re: OS plans this winter holiday

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.

Author:  matt11235 [ Fri Jan 27, 2017 11:50 am ]
Post subject:  Re: OS plans this winter holiday

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?

Author:  BrightLight [ Fri Jan 27, 2017 12:54 pm ]
Post subject:  Re: OS plans this winter holiday

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.

Author:  dozniak [ Sat Jan 28, 2017 8:38 am ]
Post subject:  Re: OS plans this winter holiday

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.

Author:  Kevin [ Sun Jan 29, 2017 2:45 am ]
Post subject:  Re: OS plans this winter holiday

It doesn't, but depending on how you read it, it contradicts the "All rights reserved".

Author:  dozniak [ Sun Jan 29, 2017 5:23 am ]
Post subject:  Re: OS plans this winter holiday

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

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