bios_ebda.h
来自「鼎力推荐!本程序是基于嵌入式LUNUX系统开发的源程序代码」· C头文件 代码 · 共 16 行
H
16 行
#ifndef _MACH_BIOS_EBDA_H#define _MACH_BIOS_EBDA_H/* * there is a real-mode segmented pointer pointing to the * 4K EBDA area at 0x40E. */static inline unsigned int get_bios_ebda(void){ unsigned int address = *(unsigned short *)phys_to_virt(0x40E); address <<= 4; return address; /* 0 means none */}#endif /* _MACH_BIOS_EBDA_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?