generated from mdpatelcsecon/charlotte-os-limine-rust-barebones
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set up the skeleton and laid the foundation for the rs232 driver to b…
…e used for logging
- Loading branch information
1 parent
6df5569
commit 01bf0a3
Showing
10 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pub trait Memory { | ||
type VAddr; | ||
type PAddr; | ||
type IoAddr; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pub mod memory; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
mod implementations; | ||
pub mod interfaces; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
///! # Hardware Abstraction Layer | ||
///! | ||
///! This module contains the hardware abstraction layer of the kernel. It is responsible for | ||
///! initializing the hardware and providing an interface to the hardware for the rest of the | ||
///! kernel. It deals with the specifics of the hardware configuration and provides a common | ||
///! set of interfaces for the rest of the kernel to use. | ||
pub mod bootinfo; | ||
pub mod drivers; | ||
pub mod isa; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
#![no_std] | ||
#![no_main] | ||
|
||
mod hal; | ||
|
||
use core::panic::PanicInfo; | ||
|
||
#[no_mangle] | ||
unsafe extern "C" fn main() -> ! { | ||
|