Mercurial > mplayer.hg
annotate vidix/sysdep/AsmMacros_alpha.h @ 24012:94d4930701b4
Remove useless #include and silence warnings when compiling find_sub.c.
author | cehoyos |
---|---|
date | Wed, 08 Aug 2007 10:40:17 +0000 |
parents | 88bed2131f19 |
children | 9c4ad35fabc5 |
rev | line source |
---|---|
4164 | 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 | |
23934
88bed2131f19
Identifiers starting with underscores are reserved.
diego
parents:
22900
diff
changeset
|
7 #ifndef ASMMACROS_ALPHA_H |
88bed2131f19
Identifiers starting with underscores are reserved.
diego
parents:
22900
diff
changeset
|
8 #define ASMMACROS_ALPHA_H |
4164 | 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 | |
23934
88bed2131f19
Identifiers starting with underscores are reserved.
diego
parents:
22900
diff
changeset
|
26 #endif /* ASMMACROS_ALPHA_H */ |