社区
Linux_Kernel
帖子详情
关于cpu_gdt_table[GDT_ENTRIES]的问题
orclc
2005-08-03 03:23:15
我在程序了作了如下声明:
extern struct desc_struct cpu_gdt_table[GDT_ENTRIES];
编译时出错,错误信息为:
array type has incomplete element type
这是为什么啊?
...全文
112
回复
打赏
收藏
关于cpu_gdt_table[GDT_ENTRIES]的问题
我在程序了作了如下声明: extern struct desc_struct cpu_gdt_table[GDT_ENTRIES]; 编译时出错,错误信息为: array type has incomplete element type 这是为什么啊?
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
Linux 运行时内核分析(二版)
这一过程主要发生在`Arch/i386/boot/Setup.s`文件中,通过设置全局描述符表(Global Descriptor
Table
,
GDT
)来实现。 **
GDT
配置示例:** ```assembly
gdt
:.fill
GDT
_
EN
TRY_KERNEL_CS,8,0#空12×(8个字节=2个双字)...
freebsdprotmode底层文档.7z
Table
of cont
en
ts 1. P REREQUISITE KNOWLEDGE ....................................................................................2 2. I NFORMATION SOURCES ................................................
2024年最全Linux per-
cpu
_linux per
cpu
本书是获得了很多读者好评的Linux经典畅销书**《Linux从入门到精通》的第2版**。...//计算每个unit的大小,即每个group中的每个
cpu
占用的per
cpu
内存大小为一个unit。//计算p
cpu
_nr_slots,即p
cpu
_slot数组的组项数量。
Linux开机启动过程(14):start_kernel()->sched_init()调度器初始化
Kernel initialization....This is the eighth part of the Linux kernel initialization process chapter and we stopped on the setup_nr_
cpu
_ids function in the previous part. The main point of this part i
x86架构下Linux初始化流程中
GDT
、IDT建立和切换
x86架构下Linux初始化流程中
GDT
建立和切换 1、代码流:_start()–>start_of_setup()–>main()–>go_to_protected_mode()–>protected_mode_jump(); 函数所属文件: arch/x86/boot/head.S: _start()/...
Linux_Kernel
4,466
社区成员
17,461
社区内容
发帖
与我相关
我的任务
Linux_Kernel
Linux/Unix社区 内核源代码研究区
复制链接
扫一扫
分享
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章