diff --git a/Makefile.toml b/Makefile.toml index 34e4d24..961dce2 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -107,6 +107,7 @@ script = ''' mkdir -p build/iso/boot/${ARCH} 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-cd.bin build/iso/boot/limine/ cp -f ${LIMINEDIR}/limine-uefi-cd.bin build/iso/boot/limine/ diff --git a/configs/limine.conf b/configs/limine.conf index b67cd90..e65a39a 100644 --- a/configs/limine.conf +++ b/configs/limine.conf @@ -1,4 +1,6 @@ -timeout: 0 +timeout: 2 +wallpaper: boot():/bg.png +wallpaper_style: centered /Gila protocol: limine diff --git a/kernel/src/memory/paging.rs b/kernel/src/memory/paging.rs index f3fb6f4..96cf926 100644 --- a/kernel/src/memory/paging.rs +++ b/kernel/src/memory/paging.rs @@ -8,14 +8,16 @@ use crate::log::*; use crate::memory::HHDM_RESPONSE; use crate::memory::format; -pub fn map_page(virt: VirtAddr, phys: PhysAddr) { +#[allow(dead_code)] +pub fn map_page(_virt: VirtAddr, _phys: PhysAddr) { // TODO: // This function should create necessary page tables until the // supplied virtual address maps to the supplied physical address. todo!() } -pub fn unmap_page(virt: VirtAddr) -> Result<(), ()> { +#[allow(dead_code)] +pub fn unmap_page(_virt: VirtAddr) -> Result<(), ()> { // TODO: // This funciton should remove any present mappings // corresponding to the supplied virtual address. diff --git a/resources/wallpaper.png b/resources/wallpaper.png new file mode 100644 index 0000000..299b4a0 Binary files /dev/null and b/resources/wallpaper.png differ