Commit Graph

984 Commits

Author SHA1 Message Date
mintsuki
6e78e33989 misc: Replace Intel-syntax inline assembly with GAS-syntax inline assembly; ensure we can build with clang 2021-05-29 18:07:28 +02:00
mintsuki
87cc5494c7 build: Remove dependency on GCC-specific -fplan9-extensions flag 2021-05-28 16:05:42 +02:00
mintsuki
187576393c limine-install: Add local .gitignore 2021-05-28 15:57:34 +02:00
mintsuki
bcdf5baaa9 build: Update ISO hybrid creation process 2021-05-23 05:07:24 +02:00
mintsuki
3790d26194 bootsect: Also handle if boot drive is above 0x8f and gracefully fail if that's the case 2021-05-23 04:15:36 +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
dc3b45a9a9 term: General terminal improvements 2021-05-23 00:19:27 +02:00
mintsuki
4d7a48eca7 term: Add support for tabs 2021-05-22 23:11:18 +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
5176a2303e limine-install: Ensure stack is not executable on UNIX/ELF 2021-05-22 10:34:49 +02:00
mintsuki
f9f38f0c39 build: Revert usage of -mgeneral-regs-only 2021-05-22 10:26:56 +02:00
mintsuki
31ad36ac51 build: Ensure building toolchain does not fail due to a toolchain not being present already 2021-05-22 10:25:05 +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
c940a411cb isohybrid: Fix xorriso invocation 2021-05-20 23:23:59 +02:00
mintsuki
d67ce23b77 stage1: hdd bootsect: Properly guard against image being booted as floppy drive 2021-05-20 23:19:24 +02:00
mintsuki
110d2dc7d4 misc: Misc EFI-related adjustments 2021-05-20 01:16:39 +02:00
mintsuki
40e65eddb1 panic: Add missing getchar() before returning to EFI 2021-05-19 08:52:21 +02:00
mint
0d3d667ba8
Merge pull request #84 from chocabloc/trunk
Return to firmware instead of halting in UEFI mode
2021-05-19 08:46:20 +02:00
aditya
e013c2ce46 include efi.h 2021-05-19 12:14:00 +05:30
aditya
60170c9f2c use fb_clear 2021-05-19 12:11:39 +05:30
mintsuki
9676a3d09c stivale: Load up invalid IDT before jumping to kernel instead of leaking internal one 2021-05-19 08:29:21 +02:00
aditya
4737625d22 fix typo 2021-05-19 11:56:43 +05:30
aditya
2c679dcec3 return to firmware instead of halting in uefi mode 2021-05-19 11:49:53 +05:30
mintsuki
eb51e5a14a readline: Fix handling of escape key for BIOS 2021-05-19 08:13:15 +02:00
mintsuki
4c1782357a readline: Fix issue where timeouts were not reported properly on BIOS 2021-05-13 02:56:25 +02:00
mintsuki
df6a0d3c24 readline: Protect against non-printable characters 2021-05-12 13:10:39 +02:00
mintsuki
12ec203f46 chainload: EFI workarounds 2021-05-12 12:53:06 +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
b73890cce5 Revert "stivale: Reduce verbosity"
This reverts commit 8b38bc55cb.
2021-05-11 06:12:33 +02:00
mintsuki
0687bd2760 Revert "linux: Reduce verbosity"
This reverts commit e228745e5c.
2021-05-11 06:12:22 +02:00
mintsuki
9174a241dc fat: Implement FAT12 2021-05-11 06:04:23 +02:00
mintsuki
e228745e5c linux: Reduce verbosity 2021-05-11 02:15:44 +02:00
mintsuki
8b38bc55cb stivale: Reduce verbosity 2021-05-11 02:11:37 +02:00
mintsuki
2526b92ab3 stivale2: Reduce verbosity 2021-05-11 02:09:59 +02:00
mintsuki
3681263f7b panic: Properly reset palette 2021-05-10 23:06:39 +02:00
mintsuki
26a875c7af build: Do not uselessly create test.hdd image when testing an ISO instead 2021-05-10 23:02:55 +02:00
mintsuki
1a83dfcf78 misc: Misc bug fixes 2021-05-07 00:27:49 +02:00
mintsuki
8a904b3669 docs: Document how to build a hybrid ISO 2021-05-06 05:47:29 +02:00
mintsuki
b48dd898ee docs: Document UEFI chainloading 2021-05-06 05:04:26 +02:00
mintsuki
db3a41bc4c uefi: Implement chainloading support 2021-05-06 04:31:05 +02:00
mintsuki
96b987273d build: Add full hybrid test target 2021-05-05 20:24:30 +02:00
mintsuki
540829f6a7 disk: Minor adjustments and fixes 2021-05-05 19:59:21 +02:00
mintsuki
08bd3a68ab docs: Add donations BTC address 2021-05-05 14:40:32 +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
mintsuki
ad2e03b434 pmm: Guard against broken E820 causing an EBDA overwrite 2021-05-05 00:12:20 +02:00
mintsuki
a01e5ecd1a stivale2: Implement higher half returned addresses flag 2021-05-04 23:00:26 +02:00
mintsuki
4bd3a540a8 stivale: Implement higher half returned addresses flag 2021-05-04 15:17:36 +02:00
mintsuki
07d9f7d7ee build: Bump GCC to 11.1.0, misc fixes 2021-05-04 13:56:00 +02:00
mintsuki
b401d07f8f build: Work around GCC issue where -static-pie does not seem to work with -elf cross compilers 2021-05-03 01:08:31 +02:00