vcpu_struct.h

来自「newos is new operation system」· C头文件 代码 · 共 23 行

H
23
字号
/* ** Copyright 2001, Travis Geiselbrecht. All rights reserved.** Distributed under the terms of the NewOS License.*/#ifndef _VCPU_STRUCT_H#define _VCPU_STRUCT_Hstruct vector {	int (*func)(void *iframe);};typedef struct {	unsigned int *kernel_pgdir;	unsigned int *user_pgdir;	unsigned int kernel_asid;	unsigned int user_asid;	unsigned int *kstack;	struct vector vt[256];} vcpu_struct;#endif

⌨️ 快捷键说明

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