[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Mach branch, master, updated. v1.8-837-g429762dc
From: |
Samuel Thibault |
Subject: |
[SCM] GNU Mach branch, master, updated. v1.8-837-g429762dc |
Date: |
Mon, 5 Feb 2024 18:10:30 -0500 (EST) |
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 429762dca4d313140067d14e1c448ee68d1644d2 (commit)
via e211bdce3388a3c9e3dafab903dd53374f6d9759 (commit)
from a923f97ff290a70fc224ac79ab276feae1cfbf53 (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 429762dca4d313140067d14e1c448ee68d1644d2
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Mon Feb 5 23:22:00 2024 +0100
apboot: avoid self-modifying code
self-modifying code is generally frowned upon, Intel largely says the
support is model-dependent. We can as well just relocate from the C
code like we did for the temporary gdt.
commit e211bdce3388a3c9e3dafab903dd53374f6d9759
Author: Damien Zammit <damien@zamaudio.com>
Date: Mon Feb 5 23:10:45 2024 +0100
smp: Remove hardcoded AP_BOOT_ADDR
This took some time to figure out.
Involves a hand-crafted 16 bit assembly instruction [1]
because it requires an immediate for the memory address
of far jump. This required self-modifying code
to inject the next instruction, therefore I added a near
jump to clear the instruction cache queue in case the pipeline
cached the unmodified jump location.
[1] Intel Architecture Software Developer's Manual,
Volume 2: Instruction Set Reference Manual
-----------------------------------------------------------------------
Summary of changes:
i386/i386/cpuboot.S | 26 +++++++++++++++++++-------
i386/i386/mp_desc.c | 5 +++--
i386/i386/mp_desc.h | 7 +++++--
i386/i386at/model_dep.c | 23 +++++++++++++++++++++++
4 files changed, 50 insertions(+), 11 deletions(-)
hooks/post-receive
--
GNU Mach
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Mach branch, master, updated. v1.8-837-g429762dc,
Samuel Thibault <=