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

📄 thread.h

📁 newos is new operation system
💻 H
字号:
/*** Copyright 2002, Travis Geiselbrecht. All rights reserved.** Distributed under the terms of the NewOS License.*/#ifndef _NEWOS_KERNEL_ARCH_I386_THREAD_H#define _NEWOS_KERNEL_ARCH_I386_THREAD_H#include <kernel/arch/cpu.h>void i386_push_iframe(struct iframe *frame);void i386_pop_iframe(void);struct iframe *i386_get_curr_iframe(void);extern inline struct thread *arch_thread_get_current_thread(void) {	struct thread *t;	read_dr3(t);	return t;}extern inline void arch_thread_set_current_thread(struct thread *t) {	write_dr3(t);}#endif

⌨️ 快捷键说明

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