首次仿照《一个操作系统的实现》实现了ring0-ring3,为什么这么困难呢,开始怀疑程序生涯了

 kernel.c typedef char * va_list; #ifdef __cplusplus #define _ADDRESSOF(v) ( &reinterpret_cast<const char &>(v) ) #else #define _ADDRESSOF(v) ( &(v) ) #endif #define _INTSIZEOF(n) ( (sizeof(n
相关文章
相关标签/搜索