From e6f835d6ae44f72b03f38cf452e581d9fd9c8bad Mon Sep 17 00:00:00 2001 From: Able Date: Mon, 5 Dec 2022 04:22:02 -0600 Subject: [PATCH] update drivers --- drivers/basic_driver/src/main.rs | 3 +-- drivers/graphics/derelict_microarchitecture/src/main.rs | 3 +-- drivers/graphics/ground/src/main.rs | 3 +-- drivers/graphics/novideo/src/main.rs | 3 +-- drivers/graphics/vgable/src/main.rs | 6 +++--- 5 files changed, 7 insertions(+), 11 deletions(-) diff --git a/drivers/basic_driver/src/main.rs b/drivers/basic_driver/src/main.rs index 00a4608..cc04b80 100644 --- a/drivers/basic_driver/src/main.rs +++ b/drivers/basic_driver/src/main.rs @@ -2,7 +2,6 @@ #![no_main] #[no_mangle] -fn start() -> i32 { +fn start() { // Simple driver - 1 } diff --git a/drivers/graphics/derelict_microarchitecture/src/main.rs b/drivers/graphics/derelict_microarchitecture/src/main.rs index 00a4608..cc04b80 100644 --- a/drivers/graphics/derelict_microarchitecture/src/main.rs +++ b/drivers/graphics/derelict_microarchitecture/src/main.rs @@ -2,7 +2,6 @@ #![no_main] #[no_mangle] -fn start() -> i32 { +fn start() { // Simple driver - 1 } diff --git a/drivers/graphics/ground/src/main.rs b/drivers/graphics/ground/src/main.rs index 00a4608..cc04b80 100644 --- a/drivers/graphics/ground/src/main.rs +++ b/drivers/graphics/ground/src/main.rs @@ -2,7 +2,6 @@ #![no_main] #[no_mangle] -fn start() -> i32 { +fn start() { // Simple driver - 1 } diff --git a/drivers/graphics/novideo/src/main.rs b/drivers/graphics/novideo/src/main.rs index 00a4608..cc04b80 100644 --- a/drivers/graphics/novideo/src/main.rs +++ b/drivers/graphics/novideo/src/main.rs @@ -2,7 +2,6 @@ #![no_main] #[no_mangle] -fn start() -> i32 { +fn start() { // Simple driver - 1 } diff --git a/drivers/graphics/vgable/src/main.rs b/drivers/graphics/vgable/src/main.rs index 00a4608..568a356 100644 --- a/drivers/graphics/vgable/src/main.rs +++ b/drivers/graphics/vgable/src/main.rs @@ -2,7 +2,7 @@ #![no_main] #[no_mangle] -fn start() -> i32 { - // Simple driver - 1 +fn start() { + // TODO: Initialize the VGA hardware and configure it to the desired video mode + // (e.g. 640x480, 800x600, etc.). }