Mercurial > mplayer.hg
comparison vidix/sysdep/AsmMacros_alpha.h @ 22900:a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
author | ben |
---|---|
date | Fri, 06 Apr 2007 15:20:49 +0000 |
parents | libdha/sysdep/AsmMacros_alpha.h@2e3262002acb |
children | 88bed2131f19 |
comparison
equal
deleted
inserted
replaced
22899:515545f81186 | 22900:a9e111b88c4a |
---|---|
1 /* | |
2 This file is based on: | |
3 $XFree86: xc/programs/Xserver/hw/xfree86/drivers/chips/util/AsmMacros.h,v 1.1 2001/11/16 21:13:34 tsi Exp $ | |
4 Modified for readability by Nick Kurshev | |
5 */ | |
6 | |
7 #ifndef __ASM_MACROS_ALPHA_H | |
8 #define __ASM_MACROS_ALPHA_H | |
9 #if defined (linux) | |
10 #include <sys/io.h> | |
11 #elif defined (__FreeBSD__) | |
12 #include <sys/types.h> | |
13 extern void outb(u_int32_t port, u_int8_t val); | |
14 extern void outw(u_int32_t port, u_int16_t val); | |
15 extern void outl(u_int32_t port, u_int32_t val); | |
16 extern u_int8_t inb(u_int32_t port); | |
17 extern u_int16_t inw(u_int32_t port); | |
18 extern u_int32_t inl(u_int32_t port); | |
19 #else | |
20 #error This stuff is not ported on your system | |
21 #endif | |
22 | |
23 #define intr_disable() | |
24 #define intr_enable() | |
25 | |
26 #endif |