📄 osdef.h
字号:
#define LINUX_KERNEL#define SiS_SetMemory(MemoryAddress,MemorySize,value) memset(MemoryAddress, value, MemorySize)#define SiS_MemoryCopy(Destination,Soruce,Length) memcpy(Destination,Soruce,Length)/**********************************************************************/#ifdef OutPortByte#undef OutPortByte#endif /* OutPortByte */#ifdef OutPortWord#undef OutPortWord#endif /* OutPortWord */#ifdef OutPortLong#undef OutPortLong#endif /* OutPortLong */#ifdef InPortByte#undef InPortByte#endif /* InPortByte */#ifdef InPortWord#undef InPortWord#endif /* InPortWord */#ifdef InPortLong#undef InPortLong#endif /* InPortLong */#define OutPortByte(p,v) outb((u8)(v),(u16)(p))#define OutPortWord(p,v) outw((u16)(v),(u16)(p))#define OutPortLong(p,v) outl((u32)(v),(u16)(p))#define InPortByte(p) inb((u16)(p))#define InPortWord(p) inw((u16)(p))#define InPortLong(p) inl((u16)(p))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -