Annotation of /tags/mkinitrd-6_3_5/isolinux/io.inc
Parent Directory | Revision Log
Revision 1133 -
(hide annotations)
(download)
Thu Aug 19 09:50:43 2010 UTC (14 years, 1 month ago) by niro
Original Path: trunk/mkinitrd-magellan/isolinux/io.inc
File size: 928 byte(s)
Thu Aug 19 09:50:43 2010 UTC (14 years, 1 month ago) by niro
Original Path: trunk/mkinitrd-magellan/isolinux/io.inc
File size: 928 byte(s)
-updated to isolinux-3.86
1 | niro | 1133 | ;; ----------------------------------------------------------------------- |
2 | ;; | ||
3 | ;; Copyright 1994-2009 H. Peter Anvin - All Rights Reserved | ||
4 | ;; Copyright 2009 Intel Corporation; author: H. Peter Anvin | ||
5 | ;; | ||
6 | ;; This program is free software; you can redistribute it and/or modify | ||
7 | ;; it under the terms of the GNU General Public License as published by | ||
8 | ;; the Free Software Foundation, Inc., 53 Temple Place Ste 330, | ||
9 | ;; Boston MA 02111-1307, USA; either version 2 of the License, or | ||
10 | ;; (at your option) any later version; incorporated herein by reference. | ||
11 | ;; | ||
12 | ;; ----------------------------------------------------------------------- | ||
13 | |||
14 | ;; | ||
15 | ;; io.inc | ||
16 | ;; | ||
17 | ;; I/O related macros | ||
18 | ;; | ||
19 | |||
20 | %ifndef _IO_INC | ||
21 | %define _IO_INC | ||
22 | |||
23 | %define IO_DELAY_PORT 80h ; Invalid port (we hope!) | ||
24 | |||
25 | %macro io_delay 0.nolist | ||
26 | out IO_DELAY_PORT,al | ||
27 | out IO_DELAY_PORT,al | ||
28 | %endmacro | ||
29 | |||
30 | %macro slow_out 2.nolist | ||
31 | out %1,%2 | ||
32 | io_delay | ||
33 | %endmacro | ||
34 | |||
35 | %endif ; _IO_INC |