mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-06 06:53:39 +00:00
Trying to find some way to share constants
This commit is contained in:
parent
f6cd790fcb
commit
2ccd3ac7f4
2 changed files with 1 additions and 2 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
#include "uvm32_sys.h"
|
#include "uvm32_sys.h"
|
||||||
#include "uvm32_common_custom.h"
|
|
||||||
.section .initial_jump , "ax", %progbits
|
.section .initial_jump , "ax", %progbits
|
||||||
.global _start
|
.global _start
|
||||||
.align 4
|
.align 4
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ use core::panic::PanicInfo;
|
||||||
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
||||||
|
|
||||||
// startup code
|
// startup code
|
||||||
global_asm!(include_str!("../../crt0.S"));
|
global_asm!(include_str!("../../crt0.S")/*, IOREQ_HALT = const IOREQ_HALT*/);
|
||||||
|
|
||||||
fn syscall(id: u32, n: u32) -> u32 {
|
fn syscall(id: u32, n: u32) -> u32 {
|
||||||
let mut value;
|
let mut value;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue