* Make the ksym table built-in with kernel image, thus remove the need
authorMinep <lunaixsky@qq.com>
Sat, 2 Mar 2024 15:56:19 +0000 (15:56 +0000)
committerMinep <lunaixsky@qq.com>
Sat, 2 Mar 2024 16:02:30 +0000 (16:02 +0000)
commit9209afa5f69cffa48a04c4a9066357d5cba75926
tree03041dbeeb64bb1502c29ede6a2635e9766d8a94
parentc166bd62fbb907f95f79f621e2a2fb4fdde08e01
* Make the ksym table built-in with kernel image, thus remove the need
  of grub side-loaded module. This include a two-stage linking: first
  pass is used to generate relocated symbol address and populate the
  ksymtable; second pass is to link the ksymtable into the kernel.

* Fix an issue within terminal signal delivery, which always deliver
  SIGINT due to a typo

* Fix the issue where pwait is waken by SIGINT, the next pwait call
  will fail the invariant assertion check
14 files changed:
lunaix-os/.gitignore
lunaix-os/GRUB_TEMPLATE
lunaix-os/arch/i386/mm/pmm.c
lunaix-os/bochs.cfg [deleted file]
lunaix-os/hal/term/lcntls/lcntl.c
lunaix-os/includes/lunaix/trace.h
lunaix-os/kernel.mk
lunaix-os/kernel/debug/trace.c
lunaix-os/kernel/ds/waitq.c
lunaix-os/link/linker.ld
lunaix-os/makeinc/toolchain.mkinc
lunaix-os/scripts/gen_ksymtable.sh [new file with mode: 0755]
lunaix-os/scripts/syms_export.py [deleted file]
lunaix-os/scripts/test_ksyms.c [deleted file]