taskThe GNU Hurd - Tasks: task #5878, Backport code from GNU Mach's...

 
 

task #5878: Backport code from GNU Mach's trunk to gnumach-1-branch: i386_set_gdt, i386_get_gdt

Submitter:  Thomas Schwinge <tschwinge>
Submitted:  Fri 08 Sep 2006 08:43:36 AM UTC
   
 
Category:  GNU Mach Should Start On:  Thu 07 Sep 2006 10:00:00 PM UTC
Should be Finished on:  Thu 07 Sep 2006 10:00:00 PM UTC Priority:  * 5 - Normal
Status:  Done Privacy:  Public
Percent Complete:  100% Assigned to:  None
Open/Closed:  Closed Planned Release:  None
Effort:  0.00
Wiki-like text discussion box: 


* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 26 Sep 2006 08:17:00 AM UTC, comment #3: 

Kernel GDT descriptors have different numbers, but that doesn't mean that they are handled completly differently.  A quick look at the differences showed me very few differences (mostly some renames).

Samuel Thibault <sthibaul>
Group administrator
Tue 26 Sep 2006 02:42:01 AM UTC, comment #2: 

The kernel descriptors in seg.h are completely different and you think this is really that trivial?

Barry deFreese <bddebian>
Fri 08 Sep 2006 08:45:09 AM UTC, comment #1: 

Roland: ``AFAIK, just do it.  If you don't understand the implementation details when you look at the code, I can explain it.  I'm not at all sure the oskit-mach code ever worked perfectly, but I know the principle is sound and I don't think there should be any rocket science in getting an implementation of it working in whichever code base.''

Thomas Schwinge <tschwinge>
Group administrator
Fri 08 Sep 2006 08:43:36 AM UTC, original submission:  

2002-10-03  Roland McGrath  <address@hidden>

        * i386/include/mach/i386/mach_i386.defs (i386_set_gdt, i386_get_gdt):
        New routines.
        * i386/i386/user_ldt.c (i386_set_gdt, i386_get_gdt): New functions.
        * i386/i386/gdt.h (USER_GDT, USER_GDT_SLOTS): New macros.
        * i386/i386/thread.h (struct i386_machine_state): New member user_gdt.
        * i386/i386/pcb.c (switch_ktss): Copy those slots into the GDT.

Thomas Schwinge <tschwinge>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-11-05 sthibaul StatusNone Done
    Percent Complete0% 100%
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.12