Commit graph

937 commits

Author SHA1 Message Date
TomAwezome
896239cd77 Fix kernel compile warn on debug var dup type. 2022-10-06 18:15:38 -04:00
TomAwezome
52db1e115c Fix KernelA typo on AHCI_CF_DESCF_C value. 2022-10-06 18:14:23 -04:00
TomAwezome
6624bba48e Replace magic number in AHCIPortIdentify cmd header desc fix attempt. 2022-10-03 21:19:14 -04:00
TomAwezome
008e68cc29 Try setting CFL bits in AHCIPortIdentify. 2022-10-03 05:12:43 -04:00
TomAwezome
415294c209 Make another non-functional limine hdd install test file.
:^)
2022-09-30 03:44:26 -04:00
TomAwezome
7a109d8162 Remove endian lines from broken LimineHDD file 2022-09-21 17:50:33 -04:00
TomAwezome
1a130d39ec Add currently non-functional Limine HDD 'install' test file in /Home. 2022-09-21 17:32:41 -04:00
TomAwezome
027116f596 Fix build script Limine-HDD.HH generate command placement. 2022-09-17 02:51:44 -04:00
TomAwezome
a5fbff8a83 Fix build script Limine-HDD.HH array size generation. 2022-09-17 02:38:04 -04:00
TomAwezome
d9e1334226 Implement build script Limine-HDD.HH file creation. 2022-09-17 01:16:03 -04:00
TomAwezome
11b790db57
Delete .gitignore 2022-09-16 02:54:04 -04:00
TomAwezome
6600536119
Update .gitignore 2022-09-16 02:53:54 -04:00
TomAwezome
cc0b05a2a1 Remove BSD-2/GPL-2.0 licensed source code from Public Domain licensed repository.
Original sources for files idt.c, idt.h, and int_thunks.S:
https://github.com/limine-bootloader/limine/blob/trunk/common/sys/idt.c
https://github.com/limine-bootloader/limine/blob/trunk/common/sys/idt.h
https://github.com/limine-bootloader/limine/blob/trunk/common/sys/idt.s2.c
https://github.com/lyre-os/lyre/blob/trunk/kernel/sys/idt.c
https://github.com/lyre-os/lyre/blob/trunk/kernel/sys/idt.h
https://github.com/lyre-os/lyre/blob/trunk/kernel/sys/int_thunks.S
https://github.com/vlang/vinix/blob/main/kernel/asm/int_thunks_asm.S
2022-09-15 17:14:44 -04:00
TomAwezome
af27249c43 Update debug reporting. 2022-09-15 10:51:32 -04:00
TomAwezome
0561a21eaa Add debug variable report and timeout count to AHCI methods that doodguy's computer is hanging at. 2022-09-14 18:17:36 -04:00
TomAwezome
2101e5f648 Make build script limine remote HEAD branch automatically adjust based on new LIMINE_BINARY_BRANCH variable. 2022-09-13 04:31:27 -04:00
TomAwezome
8c132e2536 Replace AHCIPortInit CPortCmdHeader pointer cast(s) with declared variable. 2022-09-13 01:45:25 -04:00
TomAwezome
e35d49f6df Change Limine boot related filenames.
limine.cfg --> Limine.CFG
limine.sys --> Limine.SYS
limine-cd-efi.bin --> Limine-CD-EFI.BIN
limine-cd.bin --> Limine-CD.BIN
2022-09-12 23:07:09 -04:00
TomAwezome
fa380a3024 Update System/Define.ZC 2022-09-12 22:48:41 -04:00
TomAwezome
63595e1688 Add *.bin, *.sys, *.SYS, and src/EFI to .gitignore. 2022-09-12 22:48:13 -04:00
TomAwezome
f2cf59b0af Add *.ELF and *.elf to .gitignore. 2022-09-12 21:45:59 -04:00
TomAwezome
03c8ad7d4d Move limine.sys to /Boot. 2022-09-12 21:39:56 -04:00
TomAwezome
fb78ded0fd Update AUTO.ISO. 2022-09-12 21:39:10 -04:00
TomAwezome
1329e5b2da Move limine.cfg to /Boot, remove /Boot from .gitignore. 2022-09-12 21:38:21 -04:00
TomAwezome
ee52a7ee12 Remove /Home/K.ZC. 2022-09-12 21:30:14 -04:00
TomAwezome
95ee43d4a1 Put debug prints and HLT in AHCIPortInit to diagnose bare-metal AHCIPortInit Page Fault bug on doodguy's UEFI machine. 2022-09-12 16:23:54 -04:00
TomAwezome
111e3475e3 Raise MEM_E820_ENTRIES_NUM to 256, remove memmap entry count max check in zealbooter at suggestion of mintsuki. 2022-09-12 04:26:10 -04:00
TomAwezome
8297c769e6 Fix zealbooter memmap kernel header buffer-overflow.
Previously the zealbooter memmap e820 assignment loop used the entry count value passed via limine, without checking if it was over MEM_E820_ENTRIES_NUM, the #define constant value limit of entries that are stored in the kernel header's e820 region. This commit bumps up the constant entry count to 64 from 48, and also adds a small check in zealbooter to ensure that the entry count value used in the memmap loop caps off at the constant value.
2022-09-12 00:41:09 -04:00
TomAwezome
ad20a7a710
fixup the fixup fixup 2022-09-11 16:37:52 -04:00
TomAwezome
0b916ae505
Fixup fixup 2022-09-11 01:47:00 -04:00
mintsuki
618a18e096 ZealBooter: Minor code fixups 2022-09-11 07:12:31 +02:00
mintsuki
674daa42a4 ZealBooter: Add minimal IDT and exception handling 2022-09-09 07:09:45 +02:00
TomAwezome
f0c751e962 Print CKernel sys_gdt_ptr values in zealbooter. 2022-09-08 19:12:56 -04:00
TomAwezome
a02dca9e41 Add zealbooter library files for strcpy, strncpy, strcmp, strncmp, strlen. 2022-09-08 18:47:59 -04:00
TomAwezome
b0626d623b Add zealbooter library files for memset, memmove, memcmp. 2022-09-08 18:16:49 -04:00
TomAwezome
cd849bbd1f Move zealbooter libs to subdirectory. 2022-09-08 18:01:32 -04:00
TomAwezome
eac6284cea Add #include guards to zealbooter library files using ifndef and endif. 2022-09-08 17:46:29 -04:00
TomAwezome
a3cec6b618 Implement zealbooter details print to screen using limine terminal write. 2022-09-08 02:01:24 -04:00
TomAwezome
0bfb500c16 Change ZealBooter library files to verifiably Public Domain implementations. 2022-09-08 01:57:22 -04:00
TomAwezome
c58fa6561d Make build script attempt to update limine and rebuild latest each build. 2022-09-07 21:57:52 -04:00
mintsuki
091f07423a ZealBooter: Update to Limine 4.x 2022-09-05 06:42:29 +02:00
TomAwezome
67fda6d081 Set aux font to a verifiably Public Domain font bitmap set.
Fonts used to make aux font:
Public Pixel Font by GGBotNet ( https://www.fontspace.com/public-pixel-font-f72305 )
Marediv Font by Pixel Kitchen ( https://www.fontspace.com/marediv-font-f32318 )

Both fonts used are licensed under the Public Domain.
2022-09-01 01:28:46 -04:00
mintsuki
56ae91e11f ZealBooter: Properly set kernel->mem_physical_space 2022-09-01 07:05:38 +02:00
TomAwezome
4b23988da8 Remove redundant CSysLimitBase code in zealbooter. 2022-08-31 18:09:32 -04:00
TomAwezome
54e4a7313c Fix irregular variable names in zealbooter. 2022-08-29 01:10:47 -04:00
TomAwezome
8fa30a396f Unhardcode BOOT_RAM_LIMIT, patch via kernel headers. 2022-08-29 00:24:45 -04:00
mintsuki
7a0c9a710c Fix KStart32-related issues and improvements to build script 2022-08-28 09:30:17 +02:00
TomAwezome
14515d7a19 Fix sys_framebuffer_bpp size and assignment in KStart16. 2022-08-28 02:10:37 -04:00
TomAwezome
5a4351d10c Raise OS version to 2.0 2022-08-28 00:50:43 -04:00
TomAwezome
2ba649e5a4 Remove now-unneeded VBE structs from ZealBooter. 2022-08-28 00:49:16 -04:00