testing read func call behavior

This commit is contained in:
shockrahwow committed 2019-11-30 02:06:04 -08:00
1 parent 0f2f814f9f
commit 4c96ace1ca
2 files changed
+10 -4

No files matched your search

+7 -2
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);
}
+3 -2
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);