blob: 08b3e4a5092fd6fb6d269dd572cbe9c7f437afc1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <stdint.h>
void memcpy(void *from, void *to, uint32_t n);
void outb(uint16_t port, uint8_t value);
uint8_t inb(uint16_t port);
void outw(uint16_t port, uint16_t value);
uint16_t inw(uint16_t port);
void u32_dec(uint32_t n, uint8_t *b);
void u16_dec(uint16_t n, uint8_t *b);
void u8_dec(uint8_t n, uint8_t *b);
void u32_hex(uint32_t n, uint8_t *b);
void u16_hex(uint16_t n, uint8_t *b);
void u8_hex(uint8_t n, uint8_t *b);
|