This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Mach".
The branch, master has been updated via 4d79b40a53d855c41137fa44bcafa62f5ae9f55d (commit) via 7d26734f9144243f1fa5a0dfbc57a21be4a59472 (commit) via 00fe44e565d0ec292bb06a5677ee175cd0851a69 (commit) via 15955354d26cda32bfb88eb150d5661fe66dc9d0 (commit) from d99288c94ddfade228ce74e734ced699cda567db (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 4d79b40a53d855c41137fa44bcafa62f5ae9f55d Author: Samuel Thibault <samuel.thiba...@ens-lyon.org> Date: Sun Mar 29 17:13:12 2020 +0200 Fix 64bit TSS/LDT system descriptors * i386/i386/seg.h (real_descriptor64): New structure. (fill_descriptor64): New function. * i386/i386/gdt.h [__x86_64__] (KERNEL_TSS): Set to 0x40 instead of 0x20. [__x86_64__] (USER_TSS): Set to 0x58 instead of 0x30. [__x86_64__] (GDTSZ): Set to 12 instead of 11. (_fill_gdt_descriptor): New macro. (_fill_gdt_descriptor64, fill_gdt_descriptor64): New macros. (_fill_gdt_sys_descriptor, fill_gdt_sys_descriptor): New macros. * i386/i386/ktss.c (ktss_init): Use fill_gdt_sys_descriptor instead of fill_gdt_descriptor to set KERNEL_TSS GDT entry. * i386/i386/ldt.c (ldt_init): Likewise for KERNEL_LDT GDT entry. * i386/i386/ldt.h (fill_ldt_descriptor, fill_ldt_gate): Use sel_idx instead of reimplementing it. * i386/i386/mp_desc.c (mp_desc_init): Use _fill_gdt_sys_descriptor instead of reimplementing it. commit 7d26734f9144243f1fa5a0dfbc57a21be4a59472 Author: Samuel Thibault <samuel.thiba...@ens-lyon.org> Date: Sun Mar 29 13:54:11 2020 +0200 Fix gate definition for 64bit. * i386/i386/seg.h (real_gate): Add offset_ext and reserved fields. (fill_gate): Fill offset_ext and reserved fields. commit 00fe44e565d0ec292bb06a5677ee175cd0851a69 Author: Samuel Thibault <samuel.thiba...@ens-lyon.org> Date: Sun Mar 29 17:00:20 2020 +0200 ldt: do not reload kernel LDT if we are already using it * i386/i386/pcb.c (switch_ktss): Do not call set_ldt(KERNEL_LDT) if get_ldt() is already KERNEL_LDT. commit 15955354d26cda32bfb88eb150d5661fe66dc9d0 Author: Samuel Thibault <samuel.thiba...@ens-lyon.org> Date: Sun Mar 29 16:07:01 2020 +0200 Share ncom, lpr, PAE definitions between i386 and x86_64 Otherwise the x86_64 configfrag would overwrite i386's. * i386/configfrag.ac: Remove ncom, nlpr, pae, NCOM, NLPR, PAE definitions. * i386/configfrag.ac: Remove ncom, nlpr, NCOM, NLPR, PAE definitions. Enable PAE. * configfrag-first.ac: New file, defines ncom, nlpr, pae. * configure.ac: Include configfrag-first.ac * configfrag.ac: Define NCOM, NLPR, PAE. ----------------------------------------------------------------------- Summary of changes: configfrag-first.ac | 29 ++++++++++++++++++++++++++ configfrag.ac | 13 ++++++++++++ configure.ac | 3 +++ i386/configfrag.ac | 19 +---------------- i386/i386/gdt.h | 59 ++++++++++++++++++++++++++++++++++++++++++++++++---- i386/i386/ktss.c | 10 +++------ i386/i386/ldt.c | 12 ++++------- i386/i386/ldt.h | 9 +++++--- i386/i386/mp_desc.c | 7 ++----- i386/i386/pcb.c | 3 ++- i386/i386/seg.h | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++ x86_64/configfrag.ac | 15 +++---------- 12 files changed, 179 insertions(+), 58 deletions(-) create mode 100644 configfrag-first.ac hooks/post-receive -- GNU Mach