Overview   API Reference  

compat/l4util.h

00001 #if !defined(__L4VMM_INCLUDE_VMM_COMPAT_L4UTIL_H__)
00002 #define __L4VMM_INCLUDE_VMM_COMPAT_L4UTIL_H__
00003 
00004 //
00005 // L4 includes
00006 //
00007 #include <l4/util/port_io.h>
00008 
00009 //
00010 // L4vmm includes
00011 //
00012 #include <l4/vmm/api/l4util.h>
00013 
00014 //
00015 // define macros to stay compatible with l4util for the relevant architectures.
00016 //
00017 #if L4VMM_ARCH_HAS_IOSPACE
00018     #define l4util_in8              l4vmm_in8
00019     #define l4util_in16             l4vmm_in16
00020     #define l4util_in32             l4vmm_in32
00021 
00022     #define l4util_out8             l4vmm_out8
00023     #define l4util_out16            l4vmm_out16
00024     #define l4util_out32            l4vmm_out32
00025 
00026     #define l4util_ins8             l4vmm_ins8
00027     #define l4util_ins16            l4vmm_ins16
00028     #define l4util_ins32            l4vmm_ins32
00029 
00030     //
00031     // these do not really exist, but if someone implements them.
00032     //
00033     #define l4util_outs8            l4vmm_outs8
00034     #define l4util_outs16           l4vmm_outs16
00035     #define l4util_outs32           l4vmm_outs32
00036 #endif
00037 
00038 #endif
00039 
00040 // ***** end of source ***** //
00041 

L4vmm Reference Manual, written by Mario Schwalbe  © 2006-2008