[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/6] Add initial support for booting x86_64 from grub
From: |
Luca Dariz |
Subject: |
[PATCH v2 0/6] Add initial support for booting x86_64 from grub |
Date: |
Sat, 5 Feb 2022 18:51:23 +0100 |
Updates from previous submission:
* added more description of the changes in the commit message
* removed some minor changes needed only when running the kernel from
high addreses (>4G), currently it fails to link and it will be
handled in another patch
* updated pre-processor condition for write access in PDP table, it's
not impacting current 32-bit builds (non-PAE)
* updated command line fix for console=comX
* better fix for rbx corruption in x86_64/interrupt.S
* improved x86_64/boothdr.S, removing most magic numbers or adding an
explanatory comment
Luca Dariz (6):
add support for booting from grub with x86_64
cleanup multiboot
fix register corruption in irq on qemu
fix console setting from cmdline
enable user access
fix Task State Segment layout for 64 bit
Makefrag.am | 1 -
configure.ac | 3 +-
i386/configfrag.ac | 2 +
i386/i386/i386asm.sym | 5 +
i386/i386/ktss.c | 8 +-
i386/i386/pcb.c | 4 +
i386/i386/tss.h | 24 ++-
i386/i386/vm_param.h | 2 +-
i386/i386at/com.c | 5 +
i386/i386at/model_dep.c | 23 +--
i386/include/mach/i386/multiboot.h | 108 +------------
i386/intel/pmap.c | 8 +-
i386/intel/pmap.h | 1 +
include/mach/multiboot.h | 82 ----------
kern/bootstrap.c | 20 ++-
x86_64/Makefrag.am | 18 ++-
x86_64/boothdr.S | 238 +++++++++++++++++++++++++++++
x86_64/interrupt.S | 12 +-
x86_64/ldscript | 28 ++--
19 files changed, 361 insertions(+), 231 deletions(-)
delete mode 100644 include/mach/multiboot.h
create mode 100644 x86_64/boothdr.S
--
2.30.2
- [PATCH v2 0/6] Add initial support for booting x86_64 from grub,
Luca Dariz <=
- [PATCH 3/6] fix register corruption in irq on qemu, Luca Dariz, 2022/02/05
- [PATCH 4/6] fix console setting from cmdline, Luca Dariz, 2022/02/05
- [PATCH 1/6] add support for booting from grub with x86_64, Luca Dariz, 2022/02/05
- [PATCH 2/6] cleanup multiboot, Luca Dariz, 2022/02/05
- [PATCH 6/6] fix Task State Segment layout for 64 bit, Luca Dariz, 2022/02/05
- [PATCH 5/6] enable user access, Luca Dariz, 2022/02/05