diff packages/hal/mips/arch/current/include/hal_io.h @ 90:70190fa0fe10 ecos-sw-2000-05-19

Merge from eCos master repository on 2000-05-19-07:47:03-BST
author jlarmour
date Fri, 19 May 2000 12:47:51 +0000
parents bf00f99aec69
children e0c0827131d1
line wrap: on
line diff
--- a/packages/hal/mips/arch/current/include/hal_io.h
+++ b/packages/hal/mips/arch/current/include/hal_io.h
@@ -63,6 +63,10 @@
 typedef volatile CYG_ADDRWORD HAL_IO_REGISTER;
 
 //-----------------------------------------------------------------------------
+// HAL IO macros.
+#ifndef HAL_IO_MACROS_DEFINED
+
+//-----------------------------------------------------------------------------
 // BYTE Register access.
 // Individual and vectorized access to 8 bit registers.
 
@@ -135,6 +139,11 @@ typedef volatile CYG_ADDRWORD HAL_IO_REG
         ((volatile CYG_WORD32 *)(_register_))[_j_] = (_buf_)[_i_];      \
 }
 
+#define HAL_IO_MACROS_DEFINED
+
+#endif
+
+
 //-----------------------------------------------------------------------------
 #endif // ifndef CYGONCE_HAL_HAL_IO_H
 // End of hal_io.h