annotate libdha/sysdep/AsmMacros_alpha.h @ 14265:bc8152b52771

Try http if pnm connection fails Fixes pnm://www.darrelbowen.com/videos/commercials256.rm
author rtognimp
date Tue, 28 Dec 2004 19:59:56 +0000
parents 2e3262002acb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4164
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
1 /*
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
2 This file is based on:
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
3 $XFree86: xc/programs/Xserver/hw/xfree86/drivers/chips/util/AsmMacros.h,v 1.1 2001/11/16 21:13:34 tsi Exp $
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
4 Modified for readability by Nick Kurshev
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
5 */
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
6
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
7 #ifndef __ASM_MACROS_ALPHA_H
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
8 #define __ASM_MACROS_ALPHA_H
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
9 #if defined (linux)
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
10 #include <sys/io.h>
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
11 #elif defined (__FreeBSD__)
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
12 #include <sys/types.h>
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
13 extern void outb(u_int32_t port, u_int8_t val);
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
14 extern void outw(u_int32_t port, u_int16_t val);
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
15 extern void outl(u_int32_t port, u_int32_t val);
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
16 extern u_int8_t inb(u_int32_t port);
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
17 extern u_int16_t inw(u_int32_t port);
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
18 extern u_int32_t inl(u_int32_t port);
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
19 #else
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
20 #error This stuff is not ported on your system
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
21 #endif
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
22
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
23 #define intr_disable()
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
24 #define intr_enable()
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
25
2e3262002acb Improved readability and new stuffs
nick
parents:
diff changeset
26 #endif