Commit Graph

721 Commits

Author SHA1 Message Date
mintsuki
b3e4c49e57 vmm: The PAT flag was accidentally set for 4KiB pages 2021-04-20 06:11:02 +02:00
mintsuki
8c28d8ff3d limine-install: More macOS friendliness 2021-04-16 12:22:22 +02:00
mintsuki
c3db6d0c41 stivale: Implement KASLR config option 2021-04-15 04:32:49 +02:00
mintsuki
3c0fd2b56b stivale2: Make sure memory at 0x70000 is actually free as per spec 2021-04-15 04:08:20 +02:00
mintsuki
06315dd809 pmm: Protect page 0 of physical memory 2021-04-15 03:44:25 +02:00
mintsuki
8eda1e014a build: Add distclean2 target 2021-04-15 02:42:39 +02:00
mintsuki
4e4017fb13 pmm: Rework conventional memory allocator 2021-04-15 02:21:38 +02:00
mintsuki
d9466f3d25 stivale2: Implement unmap NULL using 4KiB pages 2021-04-14 21:57:23 +02:00
mintsuki
5488c8818b stivale2: Implement unmap NULL feature 2021-04-14 11:06:14 +02:00
mintsuki
693945b157 stivale2: Implement cols and rows fields for terminal struct tag 2021-04-14 10:44:55 +02:00
mintsuki
e52f4620cc toolchain: Bump GCC version to 10.3.0 2021-04-13 22:34:17 +02:00
mintsuki
042c8037a8 stivale2: Terminal: Save and restore user segment registers instead of smashing them 2021-04-13 21:48:09 +02:00
mintsuki
c011339c0c stivale2: Clear terminal before passing control to kernel 2021-04-11 10:15:14 +02:00
mintsuki
9ab0beea54 build: Pass -Werror to nasm 2021-04-11 10:00:57 +02:00
mintsuki
d288550b2a build: Properly handle spaces in PATH 2021-04-11 09:56:48 +02:00
mintsuki
7ac20e0615 gterm: Many improvements 2021-04-11 02:30:48 +02:00
mintsuki
e402508b61 gop: Preset mode is the one the firmware gives us 2021-04-11 02:08:24 +02:00
mintsuki
380f358e07 gop: Do not assume BPP to always be 32 2021-04-11 02:04:38 +02:00
mintsuki
49621f5c4f stivale: Map the framebuffer in the memory map only in stivale protos 2021-04-11 01:38:06 +02:00
mintsuki
4dc24474a0 gterm: Fix allocated buffer which could be too small and result in an overflow 2021-04-11 01:33:58 +02:00
mintsuki
5434ccb598 gop: Implement missing logic to avoid setting modes when unnecessary 2021-04-11 01:29:39 +02:00
mintsuki
4bbc98b62e Revert "video: Many terminal related bug fixes and improvements"
This reverts commit f7638e965b.
2021-04-11 01:26:50 +02:00
mintsuki
f7638e965b video: Many terminal related bug fixes and improvements 2021-04-10 23:08:32 +02:00
mintsuki
3be9003992 linux: Ensure that the framebuffer memory map tag does not reach the kernel 2021-04-10 06:09:15 +02:00
mintsuki
f7ab1890c2 docs: Remove stray ! in README.md 2021-04-10 04:21:51 +02:00
mint
d74e358f49
Merge pull request #79 from jlxip/trunk
README: Link to stivale specs
2021-04-10 04:14:48 +02:00
JlXip
7165025321
README: Link to stivale specs 2021-04-10 03:50:02 +02:00
mintsuki
c796764aa9 stivale2: Initialise gterm in case we're coming in from a non-graphical mode 2021-04-09 04:57:52 +02:00
mintsuki
ebcaf8dfa0 gensyms.sh: Explicitly use bash in shebang 2021-04-09 03:09:33 +02:00
mintsuki
1a7736b295 build: Fix wrong variable used on 'which' invocation in decompressor Makefile 2021-04-09 02:52:23 +02:00
mintsuki
c3481e12cc mtrr: Wholly remove MTRR support 2021-04-09 02:28:56 +02:00
mintsuki
91f0600e6b image: Add support for centering images 2021-04-09 01:26:39 +02:00
mintsuki
bf9962e86f gterm: Speed up terminal by doing sub-character pixel comparisons and only printing differences 2021-04-09 00:22:20 +02:00
mintsuki
8bd7cf743c gterm: Speed up terminal greatly by only printing on screen characters that changed 2021-04-08 23:41:35 +02:00
mintsuki
55a88438f4 menu: Default to black and grey for bg and fg in case they are not provided for backwards compatibility 2021-04-08 23:34:22 +02:00
mintsuki
05c60bac51 gterm: Speed up terminal greatly by caching an alpha blent canvas of the background instead of alpha blending every pixel of the background every time 2021-04-08 23:05:27 +02:00
mintsuki
21ec72f1b7 build: Minor changes 2021-04-08 21:02:46 +02:00
mintsuki
c01a66be01 docs: Add missing build dependencies to README.md 2021-04-08 19:55:13 +02:00
mintsuki
543edfa0b3 build: Make build system more flexible to use when using the host toolchain 2021-04-08 19:41:46 +02:00
mintsuki
7e5b809a7e build: Add missing -pie to test link command 2021-04-08 05:23:32 +02:00
mintsuki
621fc30a3b build: Prefer -static-pie to -shared for linking PIE executables 2021-04-08 02:07:40 +02:00
mintsuki
9caa555973 trace: Add support for UEFI 2021-04-08 01:15:35 +02:00
mintsuki
46a82f1c7f test: Add missing break in switch case 2021-04-07 02:51:56 +02:00
mintsuki
7abb7348a9 stivale2: Implement terminal 2021-04-07 02:10:28 +02:00
mintsuki
4c5ff180d7 menu: Fix broken comparison that would always override user set menu resolution 2021-04-06 23:57:28 +02:00
mintsuki
bfc613bcbb video: Fix missing terminal deinitialisation before changing into final video mode 2021-04-04 18:05:18 +02:00
mintsuki
98fdd625c4 video: Wire in new textmode modesetting logic; use BIOS instead of VGA ports to enable and disable hardware textmode cursor 2021-04-04 04:51:55 +02:00
mintsuki
49ac7572d1 video: Implement fb_clear() 2021-04-04 04:02:05 +02:00
mintsuki
1ffb45ac9c video: Do not switch video modes when unnecessary to avoid flickering and screen blanking out 2021-04-04 03:38:38 +02:00
mintsuki
b44fa6c8e2 build: Use -M q35 for UEFI test targets 2021-04-04 00:28:22 +02:00