Commit Graph

91 Commits

Author SHA1 Message Date
mintsuki
edad956e9a misc: Allow recovering from panics 2021-12-11 19:58:00 +01:00
mintsuki
0d8037a4a4 Revert "stivale2: Add stack validity check"
This reverts commit 4a59ba6ba4.
2021-12-11 17:55:47 +01:00
mintsuki
9131aee184 Revert "stivale2: Only test stack validity if in top 2GiB"
This reverts commit eaea24f552.
2021-12-11 17:55:47 +01:00
mintsuki
84c8dce062 uefi32: Fix bug introduced in 2f844f3 2021-12-08 18:20:45 +01:00
mintsuki
eaea24f552 stivale2: Only test stack validity if in top 2GiB 2021-12-06 19:10:57 +01:00
mintsuki
4a59ba6ba4 stivale2: Add stack validity check 2021-12-06 18:58:29 +01:00
mintsuki
2f844f3f48 stivale1&2: Pass higher half GDTR.base when returning higher half pointers 2021-11-25 22:46:16 +01:00
mintsuki
735afcc4ee stivale1&2: Allocate root struct on the heap 2021-11-25 20:39:21 +01:00
mintsuki
01255704bd stivale2: Implement slide HHDM header tag 2021-11-24 15:44:17 +01:00
mintsuki
6bcbfe9b48 protos: Implement autodetection 2021-11-24 13:23:02 +01:00
mintsuki
ad3e17569c stivale2: Implement boot volume struct tag 2021-11-24 12:24:17 +01:00
mintsuki
a937eb4202 term: Introduce quiet mode 2021-11-20 21:47:51 +01:00
mintsuki
9d4bf41ed9 config: Implement and use config_get_tuple() 2021-11-09 12:01:53 +01:00
Andy-Python-Programmer
1580669781
stivale+stivale2: default to file path as the module string if NULL
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-11-05 19:22:57 +11:00
mintsuki
738095c451 stivale: Deprecate low memory area 2021-11-03 01:52:55 +01:00
mintsuki
0fd0650b78 stivale2: Remove useless arguments to load function 2021-10-31 19:09:21 +01:00
mintsuki
094bc0c1a3 stivale2: Only print base addresses when fully virtual 2021-10-30 01:51:34 +02:00
mintsuki
dcd422806c stivale2: Introduce fully virtual kernel mappings (KASLR/PIE fixes) 2021-10-29 19:51:22 +02:00
mintsuki
dbbef9f6d3 stivale2: Introduce fully virtual kernel mappings (bug fixes) 2021-10-29 02:15:17 +02:00
mintsuki
c7eb6319c0 stivale2: Introduce fully virtual kernel mappings 2021-10-29 01:15:11 +02:00
mintsuki
e215f77411 build: De-symlink tinf 2021-10-22 20:08:11 +02:00
mintsuki
8d5b1462a4 stivale2: Fix use-after-close bugs 2021-10-22 16:23:59 +02:00
mintsuki
f71e57af49 everywhere: Implement pmm_free() 2021-10-21 01:27:05 +02:00
mintsuki
f3e6ca633f build: Pass -mtune=generic 2021-10-11 21:35:23 +02:00
mintsuki
521cb1728a stivale: Make unaligned stack request a warning rather than a panic 2021-09-19 14:42:40 +02:00
mintsuki
db25c748f4 stivale1: Copy the memmap to a bootloader reclaimable region to conform with the spec 2021-09-06 03:33:15 +02:00
mintsuki
32192f73a4 docs: Document TEXTMODE option 2021-08-17 00:58:02 +02:00
mintsuki
b2e66e5a2d term: Misc improvements and fixes 2021-08-17 00:37:24 +02:00
mintsuki
17c5ec43e0 term: Finish up context control work 2021-08-16 20:56:39 +02:00
mintsuki
1cd381a3aa stivale2: More reasonable code flow to determine target video mode 2021-08-16 18:34:30 +02:00
mintsuki
c7a46830f6 term: Mass backport changes done in Vinix upstream 2021-08-16 18:02:28 +02:00
Andy-Python-Programmer
3b4d7c53fa
Implement the "stivale2_struct_tag_kernel_file_v2" tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-08-10 18:33:03 +10:00
ytret
059be24d3b stivale2: set ID of textmode structure tag 2021-07-31 20:59:05 +03:00
mintsuki
db561393dd stivale: Add requested stack sanity checks. Closes #95 2021-07-26 19:25:59 +02:00
mintsuki
6e1afcd3cb uefi: Initial 32 bit UEFI support 2021-07-20 13:35:43 +02:00
mintsuki
de3c7eed67 stivale2: Implement PMRs 2021-07-15 16:20:29 +02:00
mintsuki
79b8c38c8c stivale: Initial infrastructure to support ELF permissions 2021-07-15 14:09:12 +02:00
mintsuki
178f3cea0e elf: Return permission ranges 2021-07-15 13:34:24 +02:00
mintsuki
1aa5ae13fc misc: Change how bios and uefi macros are defined and tested 2021-07-15 10:03:47 +02:00
mintsuki
d478a1b28b stivale2: Add support for text mode struct tag 2021-07-11 10:07:43 +02:00
mintsuki
f5ffbdf2cd stivale2: Add support for any video header tag 2021-07-11 09:47:57 +02:00
mintsuki
63a45e2b31 stivale2: Implement max_length field of terminal structure tag 2021-07-11 08:51:22 +02:00
mintsuki
4a87babe4a misc: Forbid variable shadowing 2021-07-06 05:17:18 +02:00
mintsuki
08423fb646 stivale: Slight change in how anchors work 2021-07-05 22:51:03 +02:00
mintsuki
591f601299 stivale: Use anchor struct definitions from public stivale headers 2021-07-05 12:20:47 +02:00
mintsuki
84e540ee48 stivale2: Implement kernel loading by anchor for non-ELF kernels 2021-07-05 10:20:35 +02:00
mintsuki
d53facc731 multiboot: Load modules right after kernel to emulate GRUB behaviour 2021-07-02 23:58:22 +02:00
mintsuki
2f08116acb misc: Fix potentially misleading strings 2021-06-30 18:44:31 +02:00
Kacper Słomiński
9115bc7b50 elf: allow elf64_load to use paddrs instead of vaddrs 2021-06-29 16:57:51 +02:00
mintsuki
977b00f0b3 stivale2: Fix bug where when requesting higher half pointers the stivale2 struct pointer was still passed in the lower half 2021-05-23 03:34:36 +02:00