summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-10-04 02:45:18 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-17 23:50:19 +0200
commita521aa9beb2e0ebba012ce34af93d0280eec6321 (patch)
treef56b0c436153cb0f3158e19693a7aba3f36cf6db
parent80bf242fc4b3f434a655ad114aac8017cd4c18b2 (diff)
.
-rw-r--r--ChangeLog37
1 files changed, 37 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2ef73030..64de4fab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,40 @@
+2002-10-03 Roland McGrath <roland@frob.com>
+
+ * 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.
+
+ * i386/i386/gdt.h (KERNEL_CS, KERNEL_DS, KERNEL_TSS, KERNEL_LDT):
+ Values changed, new GDT layout not matching oskit base_gdt.h defaults.
+ (BASE_KERNEL_CS, BASE_KERNEL_DS): New macros with to oskit's values.
+ * oskit/x86/main.c (ktss): Variable moved to gdt.c.
+ (main): Don't diddle the tss here.
+ * i386/i386/gdt.c (gdt_init): Do it here instead.
+ * oskit/x86/main.c (my_exit): Restore oskit's base_gdt.
+
+ * oskit/x86/main.c (main): BASE_TSS -> KERNEL_TSS
+ * i386/i386/mp_desc.c (mp_desc_load): Likewise.
+
+ * i386/i386/gdt.h (USER_TSS): Macro removed (was unused).
+ (KERNEL_GS): Macro removed (value was bogus!--fix SMP later).
+ * i386/i386/i386asm.sym: Comment out KERNEL_GS.
+
+ Remove magic %gs:0 pseudo-register support.
+ * i386/i386/ldt.h (USER_GS): Macro removed.
+ * i386/i386/pcb.c (pcb_init): Set gs to USER_DS, not USER_GS.
+ (thread_setstatus): Likewise.
+ * i386/i386/mp_desc.h (struct mp_desc_table): Remove member
+ `user_thread_register'.
+ * i386/i386/thread.h (struct i386_machine_state): Likewise.
+ * i386/i386/mp_desc.c (mp_desc_init): Don't set up USER_GS in LDT.
+ * i386/i386/ldt.c (ldt_init): Likewise.
+ * i386/intel/pmap.c (pmap_bootstrap): Don't give users access to
+ direct-mapped pages.
+ * i386/i386/user_ldt.c (i386_set_ldt): Don't cap segment limits.
+
2002-07-19 Roland McGrath <roland@frob.com>
* configure.in (force_install): New substituted variable,