forked from AbleOS/ableos
stupid fix
This commit is contained in:
parent
3df6f18c85
commit
aac6d61dc6
|
@ -362,7 +362,10 @@ fn run(release: bool, target: Target) -> Result<(), Error> {
|
||||||
|
|
||||||
let accel = if supported.contains("kvm") && (vmx | svm) {
|
let accel = if supported.contains("kvm") && (vmx | svm) {
|
||||||
"accel=kvm"
|
"accel=kvm"
|
||||||
} else if cpuid.get_processor_brand_string() == "GenuineIntel"
|
} else if cpuid
|
||||||
|
.get_processor_brand_string()
|
||||||
|
.filter(|a| a.as_str() == "GenuineIntel")
|
||||||
|
.is_some()
|
||||||
&& supported.contains("hax")
|
&& supported.contains("hax")
|
||||||
&& vmx
|
&& vmx
|
||||||
{
|
{
|
||||||
|
|
|
@ -26,8 +26,8 @@ resolution = "1024x768x24"
|
||||||
# [boot.limine.ableos.modules.diskio_driver]
|
# [boot.limine.ableos.modules.diskio_driver]
|
||||||
# path = "boot:///diskio_driver.hbf"
|
# path = "boot:///diskio_driver.hbf"
|
||||||
|
|
||||||
# [boot.limine.ableos.modules.render_example]
|
[boot.limine.ableos.modules.render_example]
|
||||||
# path = "boot:///render_example.hbf"
|
path = "boot:///render_example.hbf"
|
||||||
|
|
||||||
# [boot.limine.ableos.modules.serial_driver_test]
|
# [boot.limine.ableos.modules.serial_driver_test]
|
||||||
# path = "boot:///serial_driver_test.hbf"
|
# path = "boot:///serial_driver_test.hbf"
|
||||||
|
@ -44,8 +44,8 @@ resolution = "1024x768x24"
|
||||||
# [boot.limine.ableos.modules.svga_driver]
|
# [boot.limine.ableos.modules.svga_driver]
|
||||||
# path = "boot:///svga_driver.hbf"
|
# path = "boot:///svga_driver.hbf"
|
||||||
|
|
||||||
[boot.limine.ableos.modules.ps2_driver]
|
# [boot.limine.ableos.modules.ps2_driver]
|
||||||
path = "boot:///ps2_driver.hbf"
|
# path = "boot:///ps2_driver.hbf"
|
||||||
|
|
||||||
# [boot.limine.ableos.modules.filesystem_fat32]
|
# [boot.limine.ableos.modules.filesystem_fat32]
|
||||||
# path = "boot:///filesystem_fat32.hbf"
|
# path = "boot:///filesystem_fat32.hbf"
|
||||||
|
@ -53,5 +53,5 @@ path = "boot:///ps2_driver.hbf"
|
||||||
# [boot.limine.ableos.modules.pumpkin_print]
|
# [boot.limine.ableos.modules.pumpkin_print]
|
||||||
# path = "boot:///pumpkin_print.hbf"
|
# path = "boot:///pumpkin_print.hbf"
|
||||||
|
|
||||||
[boot.limine.ableos.modules.tetris]
|
# [boot.limine.ableos.modules.tetris]
|
||||||
path = "boot:///tetris.hbf"
|
# path = "boot:///tetris.hbf"
|
||||||
|
|
Loading…
Reference in a new issue