[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH gnumach 0/6] minor fixes and las 32on64 compatibility issue
From: |
Luca Dariz |
Subject: |
[PATCH gnumach 0/6] minor fixes and las 32on64 compatibility issue |
Date: |
Sun, 12 Feb 2023 18:03:07 +0100 |
This series contains some minor fixes
set unused members of thread state to 0
fix hardcoded physical address
add L4 kmem cache for x86_64
and the last two rpc compatibility issues
fix rpc time value for 64 bit
fix port name size in notifications
then at this stage it seems fine to enable syscall.
I tested this by booting a ramdisk (manually adding debian patches),
and the system can boot until reaching a shell. User-space drivers do
not work yet (intr rpc are not yet implemented for x86_64) and there
are various strange things, for example:
* the reported memory amount is not accurate, e.g. for 8G I see only
1GB of available memory, with 3GB of free memory. This might br
related with the memory amount type fixed to 32-bit in host_info().
* the startup task fails to set the args vector on the kernel task
(invalid address), but this doesn't seem fatal
There could still be issues with internal mach devices, I didn't test
them thoroughly.
Luca Dariz (6):
set unused members of thread state to 0
fix hardcoded physical address
add L4 kmem cache for x86_64
fix rpc time value for 64 bit
fix port name size in notifications
enable syscalls on x86_64
i386/i386/pcb.c | 1 +
i386/i386at/com.c | 2 +-
i386/intel/pmap.c | 34 +++++++++++++++++++---------------
include/mach/task_info.h | 10 +++++-----
include/mach/thread_info.h | 6 +++---
ipc/ipc_machdep.h | 1 +
ipc/ipc_notify.c | 8 ++++----
kern/mach_clock.c | 2 +-
kern/mach_clock.h | 2 +-
kern/thread.c | 2 +-
kern/timer.h | 12 ++++++++++++
x86_64/locore.S | 3 ---
12 files changed, 49 insertions(+), 34 deletions(-)
--
2.30.2