📄 move_to_user_mode.h
字号:
///////////////////////////////////////////////////////////
#define move_to_user_mode() \__asm__ __volatile__ ("movl %%esp,%%eax\n\t" \ "pushl $0x23\n\t" \ "pushl %%eax\n\t" \ "pushfl\n\t" \ "pushl $0x1b\n\t" \ "pushl $1f\n\t" \ "iret\n" \ "1:\tmovl $0x23,%%eax\n\t" \ "mov %%ax,%%ds\n\t" \ "mov %%ax,%%es\n\t" \ "mov %%ax,%%fs\n\t" \ "mov %%ax,%%gs" \ ::)///////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -