1
0
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:
Stephen Marz 2020-04-21 19:47:38 -04:00
parent 4767b6d698
commit abd3048afa

3
risc_v/src/assembly.rs Normal file
View 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"));