Commit Graph

84 Commits

Author SHA1 Message Date
mintsuki
271c341cec stivale1&2: Allocate root struct on the heap 2021-11-25 23:14:29 +01:00
mintsuki
ad00b5ca03 stivale2: Implement slide HHDM header tag 2021-11-24 19:08:46 +01:00
mintsuki
692d2a03a8 protos: Implement autodetection 2021-11-24 19:08:46 +01:00
mintsuki
1621063536 stivale2: Implement boot volume struct tag 2021-11-24 19:08:46 +01:00
mintsuki
0b8608620a term: Introduce quiet mode 2021-11-20 21:57:01 +01:00
mintsuki
51f3638bdd config: Implement and use config_get_tuple() 2021-11-10 01:59:17 +01:00
Andy-Python-Programmer
5ce174e5a4 stivale+stivale2: default to file path as the module string if NULL
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-11-10 01:56:38 +01:00
mintsuki
dc1d6a3c61 stivale: Deprecate low memory area 2021-11-03 03:05:44 +01:00
mintsuki
dea6b930dc stivale2: Remove useless arguments to load function 2021-10-31 22:10:42 +01:00
mintsuki
f730eb0b0f stivale2: Only print base addresses when fully virtual 2021-10-30 02:04:36 +02:00
mintsuki
97d0a17798 stivale2: Introduce fully virtual kernel mappings (KASLR/PIE fixes) 2021-10-30 02:04:36 +02:00
mintsuki
813418f7c9 stivale2: Introduce fully virtual kernel mappings (bug fixes) 2021-10-30 02:04:36 +02:00
mintsuki
9f74289bd3 stivale2: Introduce fully virtual kernel mappings 2021-10-30 02:04:36 +02:00
mintsuki
0d5f4b91e7 build: De-symlink tinf 2021-10-22 20:23:25 +02:00
mintsuki
e7b18be6d9 stivale2: Fix use-after-close bugs 2021-10-22 20:23:25 +02:00
mintsuki
a8050bce47 everywhere: Implement pmm_free() 2021-10-21 02:54:27 +02:00
mintsuki
631b894af7 build: Pass -mtune=generic 2021-10-12 21:03:15 +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
mintsuki
a6a88109d7 stivale2: Unbreak listing tags due to higher half pointers and verbose mode 2021-05-22 22:20:26 +02:00
mintsuki
0602e40cce stivale2: Actually pass tag pointers in linked list in the higher half if requested 2021-05-22 10:13:06 +02:00
mintsuki
110d2dc7d4 misc: Misc EFI-related adjustments 2021-05-20 01:16:39 +02:00
mintsuki
f650e4b41b misc: Add verbose config option 2021-05-11 06:46:42 +02:00
mintsuki
0eb5af44aa Revert "stivale2: Reduce verbosity"
This reverts commit 2526b92ab3.
2021-05-11 06:12:47 +02:00
mintsuki
2526b92ab3 stivale2: Reduce verbosity 2021-05-11 02:09:59 +02:00
mintsuki
fdfa0207e6 stivale: Panic if higher half addresses header flag is set for 32-bit kernels 2021-05-05 00:53:18 +02:00