TomAwezome
e8d87009a9
Make build process work offline IF it was previously built with internet connection at least once.
2022-11-02 13:38:49 -04:00
TomAwezome
ceba85119d
Add 'LiveCD' to zealbooter/Limine.CFG limine entry title.
2022-10-16 20:01:14 -04:00
TomAwezome
16427dfe0b
Move Limine.CFG from src/ to zealbooter/.
...
Since Zeal now has Limine.CFG autogenerate capability for install, it doesn't need it in the source tree. However, it can't be outright deleted from the project since the isohybrid needs it, so instead it will stay in zealbooter directory, and in the next commit it will be copied into the isohybrid temp directory from zealbooter/ during the build process.
2022-10-16 19:49:06 -04:00
TomAwezome
2c2dc1141d
Begin integrating Limine framebuffer mode info list into ZealBooter to pass abstracted mode information to CKernel header.
2022-10-14 22:01:34 -04:00
TomAwezome
a2be44fa28
Begin reimplementing framebuffer mode list storage and VideoRep funtionality.
2022-10-14 19:41:46 -04:00
TomAwezome
637758a13b
Refactor ZealBooter disk UUID code.
2022-10-12 20:50:31 -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
11b790db57
Delete .gitignore
2022-09-16 02:54:04 -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
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
mintsuki
091f07423a
ZealBooter: Update to Limine 4.x
2022-09-05 06:42:29 +02: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
2ba649e5a4
Remove now-unneeded VBE structs from ZealBooter.
2022-08-28 00:49:16 -04:00
TomAwezome
017025fae2
Correctly set sys_boot_src in zealbooter based on media type.
2022-08-27 16:44:01 -04:00
TomAwezome
41a033fe8a
Implement prekernel disk GPT UUID pass to kernel, add to headers, check in AHCIBootDVDProbeAll.
2022-08-27 05:11:55 -04:00
TomAwezome
f74e3d6b20
Remove VBE from kernel headers.
2022-08-25 07:15:24 -04:00
TomAwezome
2bd8e2ab0b
Remove SYS_FONT_PTR and related code.
2022-08-25 04:33:39 -04:00
mintsuki
6f942441e3
Misc improvements
2022-08-24 08:53:44 +02:00
TomAwezome
0bf82fb057
Implement limine zealbooter prekernel SMBIOS entry patching to kernel.
2022-08-23 21:04:27 -04:00
TomAwezome
7d31064b6a
Abstract out VBE vars from most of OS, revise dev uefi temp vm build system.
...
Misc UEFI build scripts have been removed/revised/condensed into one script with multiple rebuild steps. The order of the steps is as follows: Auto-install into temp VM with custom AUTO-VM iso, merge kernel headers into VM, rebuild kernel, merge Kernel/ code, rebuild kernel, merge all src/ code, deploy limine and zealbooter, rebuild kernel (as well as test), then test UEFI and BIOS mode.
2022-08-23 04:48:04 -04:00
TomAwezome
fab8b79074
Remove unneeded commented code.
2022-08-23 02:41:23 -04:00
TomAwezome
644a73711e
Merge branch 'limine2' into limine
2022-08-22 02:46:53 -04:00
mintsuki
e067776510
ZealBooter: memmove() -> memcpy()
2022-08-21 22:27:18 +02:00
mintsuki
375a487087
ZealBooter: De-hardcode kernel load address and boot stack
2022-08-21 22:21:01 +02:00
mintsuki
1510f65468
ZealBooter: Further cleanup and fix BIOS boot
2022-08-21 20:47:26 +02:00
mintsuki
ee265c8767
ZealBooter: Move sys_pci_buses assignment to zealbooter.c
2022-08-21 19:13:48 +02:00
mintsuki
d7f72e3aa9
ZealBooter: Misc cleanup, SMP working
2022-08-21 19:03:17 +02:00
mintsuki
fa4ded924f
ZealBooter: Misc cleanup
2022-08-21 17:42:32 +02:00
TomAwezome
f2f7fa953f
Merge branch 'limine2' into limine
2022-08-21 06:41:47 -04:00
mintsuki
bcb830e880
ZealBooter: Misc progress
2022-08-21 10:27:19 +02:00
TomAwezome
ddccc7d7ff
Begin attempt to get limine framebuffer and combine it into kernel data members. TODO: update SYS_KERNEL DU members.
2022-08-20 11:46:30 -04:00
TomAwezome
a1ef3f7566
Fix merge broke zealbooter compile.
2022-08-20 10:32:39 -04:00
TomAwezome
0a3923b7b9
Merge branch limine2 into branch limine.
2022-08-20 10:27:08 -04:00