aboutsummaryrefslogtreecommitdiff
path: root/src/inc/cpu.h
blob: ad83896a039bf0d68d7172bfb5f8f965f80d222f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// MIT License, Copyright (c) 2020 Marvin Borner

#ifndef CPU_H
#define CPU_H

#include <def.h>

u8 inb(u16 port);
u16 inw(u16 port);
u32 inl(u16 port);

void outb(u16 port, u8 data);
void outw(u16 port, u16 data);
void outl(u16 port, u32 data);

#endif