Relocations are working
This commit is contained in:
@@ -20,7 +20,6 @@ macro_rules! custom_std_setup {
|
||||
|
||||
unsafe impl core::alloc::GlobalAlloc for GlobalAllocator {
|
||||
unsafe fn alloc(&self, layout: core::alloc::Layout) -> *mut u8 {
|
||||
syscall::write_string_temp("Alloc user called");
|
||||
$crate::syscall::alloc(layout)
|
||||
}
|
||||
|
||||
@@ -51,11 +50,11 @@ macro_rules! print {
|
||||
#[macro_export]
|
||||
macro_rules! println {
|
||||
() => {
|
||||
// $crate::print!("");
|
||||
$crate::print!("\n\r");
|
||||
$crate::print!("");
|
||||
// $crate::print!("\n\r");
|
||||
};
|
||||
($($args:expr),*) => {
|
||||
$crate::print!($($args),*);
|
||||
$crate::println!();
|
||||
// $crate::println!();
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user