Commit graph

1001 commits

Author SHA1 Message Date
TomAwezome
eaea4915a1 Begin removing debug lines from AHCI code, document bugs identified and current workarounds. 2022-10-09 20:29:28 -04:00
TomAwezome
8f93766df7 Change AHCIAtaInit cmd_header_base cast to proper declared variable. 2022-10-07 20:22:13 -04:00
TomAwezome
7dac5c3019 Change ACHI HBA ports_implemented check to debug AND with bitshift. 2022-10-07 18:55:44 -04:00
TomAwezome
27193fe5e0 Add AHCI GHC.AE debug check with both & and Bt. 2022-10-07 18:54:56 -04:00
TomAwezome
004f762b26 Add AHCI debug Bt/Bts values and checks. 2022-10-07 18:54:16 -04:00
TomAwezome
c4e5fbe2da Change AHCI ATAPI cmd_issue sets to debug OR-equals with bit shift. 2022-10-07 18:53:32 -04:00
TomAwezome
276e58e43f Replace AHCIPortCmdWait processed-check with debug bit shift AND comparison. 2022-10-07 18:52:27 -04:00
TomAwezome
d8284010ae Fix build-iso Limine-HDD.HH generate array count math and subcommand. 2022-10-06 19:20:34 -04:00
TomAwezome
56107409db Alter AHCIPortIdentify last debug var check. 2022-10-06 18:20:31 -04:00
TomAwezome
0d517f15bb Change AHCIPortIdentify port cmd_issue set to debug approach with or-equals. 2022-10-06 18:19:51 -04:00
TomAwezome
7c6f6117d2 Change AHCIPortIdentify cmd_fis desc set to debug approach, add another var check. 2022-10-06 18:19:08 -04:00
TomAwezome
f813da6107 Add debug AHCIPortIdentify PxCMD.ICC set to 1. 2022-10-06 18:18:13 -04:00
TomAwezome
1145ab3b9b Remove debug known-good vals from check in AHCIPortIdentify. 2022-10-06 18:17:45 -04:00
TomAwezome
0cbbe5a74b Add debug AHCIPortIdentify device_sleep clear and another var check. 2022-10-06 18:16:56 -04:00
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