All cache bugs fixed - Handshaking

This commit is contained in:
felsabbagh3
2020-03-28 21:43:02 -07:00
301 changed files with 527762 additions and 30493 deletions

View File

@@ -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);

View File

@@ -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);

View File

@@ -22,9 +22,12 @@ be:
.type vx_printc, @function
.global vx_printc
vx_printc:
la t0, 0x00010000
la t0, print_addr
lw t0, 0(t0)
sw a1, 0(t0)
ret
.section .data
print_addr:
.word 0x00010000