interrupts mechanisms, serial port data receiver
[quarnos.git] / arch / x86 / arch_asm.h
blob68876493de76e3cfdc9149782305dfd0720584ea
1 /* Quarn OS
3 * Low level tools for C and C++
5 * Copyright (C) 2008 Pawel Dziepak
7 * This file consist of interface for C and C++ device drivers that help them
8 * to communicate with the hardware.
9 */
11 #undef pure_c
12 #ifdef __cplusplus
13 #define pure_c extern "C"
14 #else
15 #define pure_c
16 #endif
18 pure_c void outb(unsigned int, unsigned char);
19 pure_c void outw(unsigned int, unsigned short);
20 pure_c void outl(unsigned int, unsigned long);
22 pure_c unsigned char inb(unsigned int port);