22 lines
287 B
Rust
22 lines
287 B
Rust
// #![feature(abi_x86_interrupt, asm)]
|
|
#![no_std]
|
|
#![no_main]
|
|
|
|
#[macro_use]
|
|
mod vga_buffer;
|
|
|
|
use core::panic::PanicInfo;
|
|
|
|
#[panic_handler]
|
|
fn panic(_info: &PanicInfo) -> ! {
|
|
loop {}
|
|
}
|
|
|
|
#[no_mangle]
|
|
pub extern "C" fn _start() -> ! {
|
|
println!("Gamarjoba, munde!");
|
|
loop {}
|
|
}
|
|
|
|
|