⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 asmmacros_generic.h

📁 原名叫avifile
💻 H
字号:
/*    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 systemstatic __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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -