testing read func call behavior

This commit is contained in:
shockrahwow 2019-11-30 02:06:04 -08:00
parent 0f2f814f9f
commit 4c96ace1ca
2 changed files with 10 additions and 4 deletions

View File

@ -9,13 +9,18 @@ void test_serial_write() {
printf("serial test write finished\n");
}
void test_write() {
void test_write(void) {
char* msg1 = "Writing to fbout\n";
printf(msg1);
}
void test_dispatcher() {
void test_dispatcher(void) {
clear_fb();
test_write();
test_write();
}
void test_read(void) {
char buf[5];
u32 bread = read(buf, 5);
printhex(bread);
}

View File

@ -1,5 +1,6 @@
#include "types.h"
#include "stlio.h"
void test_write();
void test_dispatcher();
void test_write(void);
void test_dispatcher(void);
void test_read(void);