Add a public static writer

Since `unsafe const` aren't allowed yet, we temorary add a custom version of Unique to make `Unique::new` const (instead of unsafe).
This commit is contained in:
Philipp Oppermann
2015-09-24 15:52:33 +02:00
parent ab464b107d
commit 4668acb09e
3 changed files with 9 additions and 0 deletions

View File

@@ -17,6 +17,7 @@
#![no_std]
extern crate rlibc;
extern crate spin;
mod vga_buffer;