Author Topic: A little help with OS/2 Warp Architecture Components  (Read 8331 times)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 243
  • -Receive: 46
  • Posts: 1633
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
A little help with OS/2 Warp Architecture Components
« on: March 06, 2013, 09:40:47 pm »
Hi.

I'm trying to build a graphic with the OS/2 Warp and eComStation architecture component.
I want to make a graphic inspired on some I had see for Linux and MacOS X like this ones.  Something at a very high level and based on Warp 4.52 - eComStation 2.x

http://maxwit.googlecode.com/svn/trunk/document/maxwit_linux_arch_small.jpg
or
http://lh3.ggpht.com/-evdkq9J856I/THL-ZxAZB6I/AAAAAAAAeTI/VZ-ZHSV8EKQ/400px-Diagram_of_Mac_OS_X_architecture.svg.jpg

I have this draft version:



But I still miss:
- where does DIVE, DART or GPI goes? ohh and OpenDoc.
-  I guess DSOM should be in same block as SOM, right?
- Uhm.. no idea what goes in Ring 2.  Is there any specific component names that goes there?
- Any suggestions on how to improve the graphic?

I know we may not reach a 100% agreements since this is only a visual representation at a high level, and sometimes we really like to dig as deep as possible, but your comments are welcome.

I hope that at the end I can write something and post it on EDM/2.
« Last Edit: March 06, 2013, 10:02:09 pm by Martin Iturbide »


Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 7
  • -Receive: 87
  • Posts: 1094
    • View Profile
Re: A little help with OS/2 Warp Architecture Components
« Reply #1 on: March 06, 2013, 11:32:23 pm »
I don't think anything uses ring 2 in any OS. OS/2 is unique in using ring 1, namely for DOS device drivers, and even the OS/2 device drivers don't all run completely in ring 0 IIRC.  Used to have an ATI video driver which during boot advertised that it had a ring 0 component and IIRC IBM and MS had a falling out over whether the video system should be in ring 0 or not with MS pushing for ring 0 for speed and IBM more interested in stability back in the OS/2 1.x days.
Perhaps someone more knowledgeable can verify my memory.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 243
  • -Receive: 46
  • Posts: 1633
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: A little help with OS/2 Warp Architecture Components
« Reply #2 on: March 07, 2013, 01:10:08 am »
Hi Dave, thanks for the reply.

About the rings I was using this reference from "OS/2 Architecture - A Programmer's Overview (Scott E. Garfinkle, 2000)"

It says:
"Ring 0: Kernel, Device Drivers, Filesystems
Ring 1: Not used
Ring 2: "IOPL" -- mostly print and video
Ring 3: Everything else"

That's why I was drawing it that way.
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 7
  • -Receive: 87
  • Posts: 1094
    • View Profile
Re: A little help with OS/2 Warp Architecture Components
« Reply #3 on: March 07, 2013, 04:09:54 am »
My apologies, mixed up ring 1 and ring 2.

Daniel Caetano

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 21
    • View Profile
Re: A little help with OS/2 Warp Architecture Components
« Reply #4 on: March 07, 2013, 01:09:14 pm »

  Hi Martin,
 
  This is really a nice attempt. I am impressed that this kind of OS/2 representation is not found on the internet.  :o
  As a comment, I am not sure that the "ring division" is the most adequate to describe a high level view architeture, since sometimes it does not represent what is seem by the programmer. Also, I donĀ“t know if it is "accurate" to eclipse the kernel with the Loader; AFAIK, loader is put aside after the kernel is loaded, so it shoud be a "base" for part of the kernel, instead of being on top of it.
   This book ( http://www.amazon.com/Designing-High-Powdered-Warp-Applications-Multithreaded/dp/047111586X ) has some sketches that may help improving your great work. :)
   I can scan some of those pages if you want to (since I own this book), which was of great help when designing the application developed on my MSc. thesis. :)

   Regards,

   Daniel Caetano

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 243
  • -Receive: 46
  • Posts: 1633
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: A little help with OS/2 Warp Architecture Components
« Reply #5 on: March 07, 2013, 02:06:53 pm »
hi Daniel

Yes, I was trying to build this graphics some days ago since I wasn't able to find any high level architecture/component graphics on the internet.

Maybe you are right, possible a ring level is not an adequate for a architecture component graphic. I will remove the rings of this graphic just to focus on components.

Send me over the scans for inspiration, I really need to have some more references.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Daniel Caetano

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 21
    • View Profile
Re: A little help with OS/2 Warp Architecture Components
« Reply #6 on: March 09, 2013, 09:44:08 pm »
Here goes some scans...

Daniel Caetano

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 21
    • View Profile
Re: A little help with OS/2 Warp Architecture Components
« Reply #7 on: March 09, 2013, 09:45:04 pm »
And more scans...

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 243
  • -Receive: 46
  • Posts: 1633
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: A little help with OS/2 Warp Architecture Components
« Reply #8 on: March 11, 2013, 03:41:52 am »
Thanks Daniel

With the inspiration of the graphics I had modified the components architecture view.



What do you think?

Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 243
  • -Receive: 46
  • Posts: 1633
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: A little help with OS/2 Warp Architecture Components
« Reply #9 on: March 18, 2013, 02:24:53 pm »
I'm getting some help from Michal Necasek to improve the diagram.

Here it is the latest change:

Martin Iturbide
OS2World NewsMaster
... just share the dream.

Eugene Gorbunoff

  • Full Member
  • ***
  • Thank You
  • -Given: 3
  • -Receive: 3
  • Posts: 104
    • View Profile

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 243
  • -Receive: 46
  • Posts: 1633
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: A little help with OS/2 Warp Architecture Components
« Reply #11 on: March 18, 2013, 05:14:55 pm »
On this graphic I'm not specifying Drivers one by one. For the moment it is only a high level view of the components in OS/2 Warp 4 and eCS.

Maybe in the future I will focus to go in detail, but from top to down, WorkplaceShell, SOM, PM.. move down.  But I will require help and keep bugging developers :)
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 243
  • -Receive: 46
  • Posts: 1633
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: A little help with OS/2 Warp Architecture Components
« Reply #12 on: May 29, 2013, 10:19:48 pm »
I just change the file and removed TCP/IP, MPTN and MMPM/2 to have a more general view.

I want to know at which level DART and DIVE works, and if it can be interpreted on a graphic like this.
Martin Iturbide
OS2World NewsMaster
... just share the dream.