home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.development      Operating system development chatter      4,255 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,391 of 4,255   
   Rod Pemberton to Frank Kotler   
   Re: microsoft vs linux   
   01 Jul 21 04:47:43   
   
   From: noemail@basdxcqvbe.com   
      
   On Thu, 1 Jul 2021 01:21:05 -0400   
   Frank Kotler  wrote:   
      
   > On 07/01/2021 12:40 AM, muta...@gmail.com wrote:   
   > > On Thursday, July 1, 2021 at 9:08:13 AM UTC+10, Frank Kotler wrote:   
      
   > >> (to Paul)   
   > >> "syscall" is an instruction... just like "int"...   
   > >   
   > > Ok, thanks. Which means the caller needs to be privileged   
   > > enough to set up some table, right?   
   >   
   > No... I don't think so.   
   >   
      
   For x86, LIDT, LGDT are unprivileged instructions only in real-mode.   
   LIDT, LGDT are privileged instructions in protected-mode.  You must be   
   in Ring-0 to use LIDT, LGDT in protected-mode.   
      
   I.e., if you're executing under Windows or Linux etc, then, "Yes" you   
   need privilege to set up an interrupt table via LIDT.  In other words,   
   you can't set up your own interrupt table if you "wish to run PDOS as an   
   unprivileged kernel" under Linux or Windows etc.   
      
   --   
   What is hidden in the ground, when found, is hidden there again?   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca