2022-02-19 00:54:44 -08:00
|
|
|
// #![feature(abi_x86_interrupt, asm)]
|
2019-07-09 09:42:41 -07:00
|
|
|
#![no_std]
|
|
|
|
#![no_main]
|
|
|
|
|
2019-07-11 01:46:28 -07:00
|
|
|
#[macro_use]
|
2019-07-10 02:25:12 -07:00
|
|
|
mod vga_buffer;
|
|
|
|
|
2019-07-09 09:42:41 -07:00
|
|
|
use core::panic::PanicInfo;
|
|
|
|
|
|
|
|
#[panic_handler]
|
2022-02-19 01:01:32 -08:00
|
|
|
fn panic(info: &PanicInfo) -> ! {
|
|
|
|
println!("{info}");
|
2022-02-13 19:56:35 -08:00
|
|
|
loop {}
|
2019-07-09 09:42:41 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#[no_mangle]
|
|
|
|
pub extern "C" fn _start() -> ! {
|
2022-02-19 00:54:44 -08:00
|
|
|
println!("Gamarjoba, munde!");
|
2022-02-13 19:56:35 -08:00
|
|
|
loop {}
|
2019-07-09 02:02:08 -07:00
|
|
|
}
|