version: Update to 4.08, update year to 2014
[syslinux/sherbszt.git] / core / io.inc
blob71613463c28b2cbe6d068e565acd7cce6afce4a5
1 ;; -----------------------------------------------------------------------
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.
12 ;; -----------------------------------------------------------------------
15 ;; io.inc
17 ;; I/O related macros
20 %ifndef _IO_INC
21 %define _IO_INC
23 %define IO_DELAY_PORT   80h             ; Invalid port (we hope!)
25 %macro io_delay 0.nolist
26                 out IO_DELAY_PORT,al
27                 out IO_DELAY_PORT,al
28 %endmacro
30 %macro slow_out 2.nolist
31                 out %1,%2
32                 io_delay
33 %endmacro
35 %endif ; _IO_INC