Add a VGA buffer module skeleton

It contains basic types for colors, screen characters, and the buffer itself.
This commit is contained in:
Philipp Oppermann
2015-09-24 14:12:49 +02:00
parent 3e7fd1b433
commit 49fd8926a5
2 changed files with 42 additions and 0 deletions

View File

@@ -13,10 +13,13 @@
// limitations under the License.
#![feature(no_std, lang_items)]
#![feature(const_fn)]
#![no_std]
extern crate rlibc;
mod vga_buffer;
#[no_mangle]
pub extern fn rust_main() {
// ATTENTION: we have a very small stack and no guard page