mirror of
https://github.com/mii443/nel_os.git
synced 2025-08-22 16:15:38 +00:00
wip
This commit is contained in:
@ -36,7 +36,7 @@ pub fn _print(args: fmt::Arguments) {
|
|||||||
use x86_64::instructions::interrupts;
|
use x86_64::instructions::interrupts;
|
||||||
|
|
||||||
interrupts::without_interrupts(|| {
|
interrupts::without_interrupts(|| {
|
||||||
WRITER.lock().write_fmt(args).unwrap();
|
//WRITER.lock().write_fmt(args).unwrap();
|
||||||
SERIAL1
|
SERIAL1
|
||||||
.lock()
|
.lock()
|
||||||
.write_fmt(args)
|
.write_fmt(args)
|
||||||
|
@ -74,7 +74,7 @@ impl VCpu {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn setup_guest_memory(&mut self, frame_allocator: &mut BootInfoFrameAllocator) {
|
pub fn setup_guest_memory(&mut self, frame_allocator: &mut BootInfoFrameAllocator) {
|
||||||
let mut pages = 50;
|
let mut pages = 25;
|
||||||
let mut gpa = 0;
|
let mut gpa = 0;
|
||||||
|
|
||||||
info!("Setting up guest memory...");
|
info!("Setting up guest memory...");
|
||||||
|
Reference in New Issue
Block a user