This commit is contained in:
Masato Imai
2025-05-02 05:30:04 +00:00
parent 704dec9b07
commit c21da557e7
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ pub fn _print(args: fmt::Arguments) {
use x86_64::instructions::interrupts;
interrupts::without_interrupts(|| {
WRITER.lock().write_fmt(args).unwrap();
//WRITER.lock().write_fmt(args).unwrap();
SERIAL1
.lock()
.write_fmt(args)

View File

@ -74,7 +74,7 @@ impl VCpu {
}
pub fn setup_guest_memory(&mut self, frame_allocator: &mut BootInfoFrameAllocator) {
let mut pages = 50;
let mut pages = 25;
let mut gpa = 0;
info!("Setting up guest memory...");