Commit graph

1074 commits

Author SHA1 Message Date
TomAwezome
4d6f3f380c Begin researching Bit Test functions machine code and performance in test BruteBt file in Home directory.
TODO: remove this file after deciding what route to take to squash AHCI bare metal bit test and set functions divergent erroring behaviour.
2022-10-14 19:38:58 -04:00
TomAwezome
7b834610c6 Begin creating Limine.CFG generate script.
TODO: use this script, once finished and integrated into OS, to generate Limine.CFG on-the-fly rather than providing it in the source tree
2022-10-14 01:08:16 -04:00
TomAwezome
537a650523 Remove video resolution In() strings and char input in OSInstall bare metal install and OSUpgrade code.
TODO: test OSUpgrade, and/or completely remove it in favor of an install-time optional Diff to gracefully report differences and confirm if wanting to install.
2022-10-13 18:59:44 -04:00
TomAwezome
6ff44d06cb Merge branch 'limine-ahci-doodguy-debug' into limine 2022-10-13 02:29:14 -04:00
TomAwezome
dfcd7608f8 Add .CFG to FILEMASK_TXT supported text file extensions, for making editing Limine.CFG easier. 2022-10-12 21:58:07 -04:00
TomAwezome
637758a13b Refactor ZealBooter disk UUID code. 2022-10-12 20:50:31 -04:00
TomAwezome
5169661ef5 Remove BootHDIns In() input strings for resolution setting since compile-time screen resolution setting has been removed.
TODO: Install scripts still have some remaining code that asks for screen resolution and grabs input, such as bare metal install code section. These sections need to also be updated!
2022-10-12 20:06:33 -04:00
TomAwezome
c5f3102558
Move variable declarations in LimineMHDIns to top of function. 2022-10-11 22:09:57 -04:00
TomAwezome
6ba555ee8f Refactor Limine install prompt in OSInstall.ZC 2022-10-11 22:00:48 -04:00
TomAwezome
ff380f4b32 Make OSInstall.ZC MBR install prompt to choose public domain ZealOS Boot Loader or BSD-2 licensed Limine. 2022-10-11 21:22:46 -04:00
TomAwezome
b0d2cd6767 Make LimineMHDIns.ZC from script to file with defined LimineMHDIns() function with drv_let arg.
File now uses an #ifndef to check whether or not the limine binary bytes have been included.
2022-10-11 21:20:09 -04:00
TomAwezome
6e5a75243b Move /Home/LimineHDD.ZC to /System/Boot/LimineMHDIns.ZC 2022-10-11 21:17:20 -04:00
TomAwezome
361833f42a Make OSInstall.ZC skip MBR install if UEFI-booted. 2022-10-11 18:23:38 -04:00
TomAwezome
dac6f9efe1 Add UEFI/BIOS boot detection in ZealBooter, pass to Zeal CKernel as new field. 2022-10-11 16:12:45 -04:00
TomAwezome
df419bc641 Make LimineHDD install script functional by fixing bad block count argument passed to AHCI write function. 2022-10-10 21:04:27 -04:00
TomAwezome
7486ab0b0d Attempt to implement old MBR partition record copying in prototype LimineHDD install script. 2022-10-10 20:56:32 -04:00
TomAwezome
7e8ed65677 Implement half-functional prototype Limine bootloader MBR install script. 2022-10-10 19:49:06 -04:00
TomAwezome
2bb8ef846e Remove non-functional limine MBR install scripts. 2022-10-10 19:48:36 -04:00
TomAwezome
41d32c699e Fix dup var type compiler warn in AHCIPortInit. 2022-10-09 20:37:24 -04:00
TomAwezome
ff5a901185 Remove debug check lines from AHCIPortIdentify. 2022-10-09 20:37:09 -04:00
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