did some restructuring, got multitasking almost working
This commit is contained in:
@@ -9,8 +9,6 @@
|
||||
.global ps2_write_data
|
||||
.global ps2_flush_output_buffer
|
||||
|
||||
.extern io_wait
|
||||
|
||||
# helpers
|
||||
ps2_wait_input_empty: #(void) -> void
|
||||
push %ebp
|
||||
@@ -1,4 +1,5 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include <drivers/ps2/ps2.h>
|
||||
|
||||
extern void ps2_wait_input_empty(void);
|
||||
|
||||
@@ -16,4 +16,10 @@
|
||||
#define SELF_TEST_SUCCESS 0x55
|
||||
#define PORT_TEST_SUCCESS 0x00
|
||||
|
||||
#ifndef __ASSEMBLER__
|
||||
#include <stdint.h>
|
||||
int init_ps2();
|
||||
uint8_t ps2_read_data();
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user