summaryrefslogtreecommitdiff
path: root/kernel/include/keyboard.h
blob: 5d7acd0d6d4d68ae1d217952f5537e60b88533bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef KEYBOARD_H
#define KEYBOARD_H

#include <types.h>

#define KEYBOARD_DATA_PORT	0x60
#define KEYBOARD_STATUS_PORT	0x64

uint64_t stoi(const char *s);
void itos(uint64_t num, char* s);
void print_char(char c);
void print_string(char* s);
void keyboard_handler(void);
void print_int(uint64_t num);

#endif