Clippy fix; wallpaper
All checks were successful
Continuous Integration / Check (push) Successful in 43s
Continuous Integration / Clippy (push) Successful in 41s

This commit is contained in:
August 2026-06-30 08:05:07 +00:00
parent eb0c4b7997
commit c200938bec
Signed by: shibedrill
SSH Key Fingerprint: SHA256:M0m3JW1s38BgO2t0fG146Yxd9OJ2IOqkvCAsuRHQ6Pw
4 changed files with 8 additions and 3 deletions

View File

@ -107,6 +107,7 @@ script = '''
mkdir -p build/iso/boot/${ARCH} mkdir -p build/iso/boot/${ARCH}
cp -f configs/limine.conf build/iso/ cp -f configs/limine.conf build/iso/
cp -f resources/wallpaper.png build/iso/
cp -f ${LIMINEDIR}/limine-bios.sys build/iso/boot/limine/ cp -f ${LIMINEDIR}/limine-bios.sys build/iso/boot/limine/
cp -f ${LIMINEDIR}/limine-bios-cd.bin build/iso/boot/limine/ cp -f ${LIMINEDIR}/limine-bios-cd.bin build/iso/boot/limine/
cp -f ${LIMINEDIR}/limine-uefi-cd.bin build/iso/boot/limine/ cp -f ${LIMINEDIR}/limine-uefi-cd.bin build/iso/boot/limine/

View File

@ -1,4 +1,6 @@
timeout: 0 timeout: 2
wallpaper: boot():/bg.png
wallpaper_style: centered
/Gila /Gila
protocol: limine protocol: limine

View File

@ -8,14 +8,16 @@ use crate::log::*;
use crate::memory::HHDM_RESPONSE; use crate::memory::HHDM_RESPONSE;
use crate::memory::format; use crate::memory::format;
pub fn map_page(virt: VirtAddr, phys: PhysAddr) { #[allow(dead_code)]
pub fn map_page(_virt: VirtAddr, _phys: PhysAddr) {
// TODO: // TODO:
// This function should create necessary page tables until the // This function should create necessary page tables until the
// supplied virtual address maps to the supplied physical address. // supplied virtual address maps to the supplied physical address.
todo!() todo!()
} }
pub fn unmap_page(virt: VirtAddr) -> Result<(), ()> { #[allow(dead_code)]
pub fn unmap_page(_virt: VirtAddr) -> Result<(), ()> {
// TODO: // TODO:
// This funciton should remove any present mappings // This funciton should remove any present mappings
// corresponding to the supplied virtual address. // corresponding to the supplied virtual address.

BIN
resources/wallpaper.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB