Update for Limine rc11
This commit is contained in:
parent
a2e3186bda
commit
f1ca8986df
2 changed files with 4 additions and 3 deletions
|
@ -42,7 +42,7 @@ barebones.iso: limine kernel
|
||||||
--efi-boot limine-cd-efi.bin \
|
--efi-boot limine-cd-efi.bin \
|
||||||
-efi-boot-part --efi-boot-image --protective-msdos-label \
|
-efi-boot-part --efi-boot-image --protective-msdos-label \
|
||||||
iso_root -o barebones.iso
|
iso_root -o barebones.iso
|
||||||
limine/limine-s2deploy barebones.iso
|
limine/limine-deploy barebones.iso
|
||||||
rm -rf iso_root
|
rm -rf iso_root
|
||||||
|
|
||||||
barebones.hdd: limine kernel
|
barebones.hdd: limine kernel
|
||||||
|
@ -51,7 +51,7 @@ barebones.hdd: limine kernel
|
||||||
parted -s barebones.hdd mklabel gpt
|
parted -s barebones.hdd mklabel gpt
|
||||||
parted -s barebones.hdd mkpart ESP fat32 2048s 100%
|
parted -s barebones.hdd mkpart ESP fat32 2048s 100%
|
||||||
parted -s barebones.hdd set 1 esp on
|
parted -s barebones.hdd set 1 esp on
|
||||||
limine/limine-s2deploy barebones.hdd
|
limine/limine-deploy barebones.hdd
|
||||||
sudo losetup -Pf --show barebones.hdd >loopback_dev
|
sudo losetup -Pf --show barebones.hdd >loopback_dev
|
||||||
sudo mkfs.fat -F 32 `cat loopback_dev`p1
|
sudo mkfs.fat -F 32 `cat loopback_dev`p1
|
||||||
mkdir -p img_mount
|
mkdir -p img_mount
|
||||||
|
|
|
@ -27,7 +27,8 @@ void _start(void) {
|
||||||
|
|
||||||
// We should now be able to call the Limine terminal to print out
|
// We should now be able to call the Limine terminal to print out
|
||||||
// a simple "Hello World" to screen.
|
// a simple "Hello World" to screen.
|
||||||
terminal_request.response->terminals[0]->write("Hello World", 11);
|
struct limine_terminal *terminal = terminal_request.response->terminals[0];
|
||||||
|
terminal_request.response->write(terminal, "Hello World", 11);
|
||||||
|
|
||||||
// We're done, just hang...
|
// We're done, just hang...
|
||||||
done();
|
done();
|
||||||
|
|
Loading…
Add table
Reference in a new issue