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
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
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
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
23934
88bed2131f19 Identifiers starting with underscores are reserved.
diego
parents: 22900
diff changeset
26 #endif /* ASMMACROS_ALPHA_H */