Re: x86 architecture questions
From: Scott Moore (samiam_at_moorecad.com)
Date: 03/26/04
- Next message: Tim Roberts: "Re: disassembler prefix-byte check -- wanting comments good and bad"
- Previous message: Scott Moore: "Re: x86 architecture questions"
- In reply to: Robert Wessel: "Re: x86 architecture questions"
- Next in thread: Grumble: "Re: x86 architecture questions"
- Reply: Grumble: "Re: x86 architecture questions"
- Reply: Matt Taylor: "Re: x86 architecture questions"
- Reply: David A. Caabeiro: "Re: x86 architecture questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 26 Mar 2004 06:56:50 +0000 (UTC)
"Robert Wessel" <robertwessel2@yahoo.com> wrote in message news:bea2590e.0403251548.28fbc898@posting.google.com...
> "David A. Caabeiro" <me@privacy.net> wrote in message news:<c3unk5$22br3c$1@ID-84876.news.uni-berlin.de>...
> > > I think my confusion comes from when you said:
> > >
> > > "Then you will find out that Intel and others are
> > > abandoning segmentation, ring privledges, and TSS
> > > faster than a cat abandoning a pepper sandwitch"
> > >
> > > I don't think Intel will ever abandon privilege levels. Perhaps you
> > > meant privilege levels 1 and 2? If applications were allowed to run
> > > so-called privileged instructions, how could an OS isolate processes?
> >
> > He's talking about privilege *rings*, which is a segmentation
> > unit check; he meant -I hope- removing all four rings.
> > As he stated, this is different from page-level protection.
>
>
> Not unless some other method is used to separate privileged from
> unprivileged code. Ring-0 is special in that you can actually execute
> the privileged instructions in ring-0 - that's not impacted by any of
> the page protection stuff.
>
>
See other replies in this thread. You don't need the priviledges in
paged management based code. The best way is if the kernel does not
even reveal any of its code to the target (user) processes. Each
run in their own virtual space. There is no "key" to protected space
required, because such space is not mapped in common to user space
unless the kernel wants that.
Yes, I am serious. Those features are clearly on their way out.
Intel is moving them to the emulation unit, which means the are
slower, perhaps a lot slower, and Intel is deprecating them. Keep
in mind, Intel is even now recommending that you set up your OWN
task state tables and switching code. Thats a big change for them.
Whats really odd is (to my understanding) Windows uses do-it-yourself
TSS and Linux uses the hardware supported TSS. You would think it
would be the opposite.
Bottom line: IBM pushed virtual memory in the 360 product line, and
MIT thought up segments and rings as a cheaper solution. Virtual
memory won. Its over.
- Next message: Tim Roberts: "Re: disassembler prefix-byte check -- wanting comments good and bad"
- Previous message: Scott Moore: "Re: x86 architecture questions"
- In reply to: Robert Wessel: "Re: x86 architecture questions"
- Next in thread: Grumble: "Re: x86 architecture questions"
- Reply: Grumble: "Re: x86 architecture questions"
- Reply: Matt Taylor: "Re: x86 architecture questions"
- Reply: David A. Caabeiro: "Re: x86 architecture questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|