mirror of
https://github.com/sgmarz/osblog.git
synced 2024-11-24 02:16:19 +04:00
Use Rust's global_asm to import assembly files
This commit is contained in:
parent
4767b6d698
commit
abd3048afa
3
risc_v/src/assembly.rs
Normal file
3
risc_v/src/assembly.rs
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
global_asm!(include_str!("asm/boot.S"));
|
||||||
|
global_asm!(include_str!("asm/mem.S"));
|
||||||
|
global_asm!(include_str!("asm/trap.S"));
|
Loading…
Reference in New Issue
Block a user