Clippy fix; wallpaper
This commit is contained in:
parent
eb0c4b7997
commit
c200938bec
@ -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/
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
timeout: 0
|
timeout: 2
|
||||||
|
wallpaper: boot():/bg.png
|
||||||
|
wallpaper_style: centered
|
||||||
|
|
||||||
/Gila
|
/Gila
|
||||||
protocol: limine
|
protocol: limine
|
||||||
|
|||||||
@ -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
BIN
resources/wallpaper.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
Loading…
Reference in New Issue
Block a user