org
This commit is contained in:
parent
ce2b373313
commit
9114529153
46 changed files with 126016 additions and 125522 deletions
16
kernel/drivers/ps2/ps2.h
Normal file
16
kernel/drivers/ps2/ps2.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "../../scheduler/scheduler.h"
|
||||
|
||||
struct ps2_waiter_t {
|
||||
uint8_t alloc;
|
||||
uint32_t pid;
|
||||
};
|
||||
|
||||
extern struct ps2_waiter_t ps2_waiters[MAX_PROCESSES];
|
||||
|
||||
void init_ps2();
|
||||
void handle_keypress_char(char);
|
||||
void handle_keypress(uint8_t);
|
||||
Loading…
Add table
Add a link
Reference in a new issue