diff options
Diffstat (limited to 'src/video_out/libdha/sysdep/AsmMacros_generic.h')
-rw-r--r-- | src/video_out/libdha/sysdep/AsmMacros_generic.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/src/video_out/libdha/sysdep/AsmMacros_generic.h b/src/video_out/libdha/sysdep/AsmMacros_generic.h new file mode 100644 index 000000000..f3844c5ed --- /dev/null +++ b/src/video_out/libdha/sysdep/AsmMacros_generic.h @@ -0,0 +1,56 @@ +/* + Generic stuff to compile VIDIX only on any system (SCRATCH) +*/ + +#ifndef __ASM_MACROS_GENERIC_H +#define __ASM_MACROS_GENERIC_H + +#warn This stuff is not ported on yur system + +static __inline__ void outb(short port,char val) +{ + printf("outb: generic function call\n"); + return; +} + +static __inline__ void outw(short port,short val) +{ + printf("outw: generic function call\n"); + return; +} + +static __inline__ void outl(short port,unsigned int val) +{ + printf("outl: generic function call\n"); + return; +} + +static __inline__ unsigned int inb(short port) +{ + printf("inb: generic function call\n"); + return 0; +} + +static __inline__ unsigned int inw(short port) +{ + printf("inw: generic function call\n"); + return 0; +} + +static __inline__ unsigned int inl(short port) +{ + printf("inl: generic function call\n"); + return 0; +} + +static __inline__ void intr_disable() +{ + printf("intr_disable: generic function call\n"); +} + +static __inline__ void intr_enable() +{ + printf("intr_enable: generic function call\n"); +} + +#endif |