missing runtime changes from OPAE
This commit is contained in:
@@ -26,7 +26,7 @@ void vx_print_hex(unsigned f)
|
||||
}
|
||||
|
||||
|
||||
void vx_printf(char * c, unsigned f)
|
||||
void vx_printf(const char * c, unsigned f)
|
||||
{
|
||||
vx_print_str(c);
|
||||
vx_print_hex(f);
|
||||
|
||||
@@ -9,9 +9,9 @@ extern "C" {
|
||||
|
||||
static char * hextoa[] = {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"};
|
||||
void vx_print_hex(unsigned);
|
||||
void vx_printf(char *, unsigned);
|
||||
void vx_printf(const char *, unsigned);
|
||||
|
||||
void vx_print_str(char *);
|
||||
void vx_print_str(const char *);
|
||||
void vx_printc(unsigned, char c);
|
||||
|
||||
|
||||
|
||||
@@ -22,9 +22,11 @@ be:
|
||||
.type vx_printc, @function
|
||||
.global vx_printc
|
||||
vx_printc:
|
||||
la t0, 0x00010000
|
||||
la t0, print_addr
|
||||
sw a1, 0(t0)
|
||||
ret
|
||||
|
||||
|
||||
.section .data
|
||||
print_addr:
|
||||
.word 0x00010000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user