Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

回复:[OSFS:4632] 关于多进程的ldt

19 views
Skip to first unread message

(#‵′)凸

unread,
Nov 8, 2013, 6:51:36 AM11/8/13
to osfromscratch
第一个进程的ldt在gdt中的位置是固定的,是一个常量定义的,后面的进程一个个都排在这个进程后面
------------------ 原始邮件 ------------------
发件人: "王厉"<wang_t...@hotmail.com>
发送时间: 2013年11月8日(星期五) 晚上7:42
收件人: "orange"<osfrom...@googlegroups.com>;
主题: [OSFS:4632] 关于多进程的ldt

王厉

unread,
Nov 8, 2013, 6:53:34 AM11/8/13
to orange

那后面的进程在gdt中对应的ldt有没有具体的内存空间

From: 2827...@qq.com
To: osfrom...@googlegroups.com; osfrom...@googlegroups.com
Subject: 回复:[OSFS:4633] 关于多进程的ldt
Date: Fri, 8 Nov 2013 19:51:36 +0800
--
--
You received this message because you are subscribed to the Google
Groups "自己动手写操作系统" group.
To post to this group, send email to osfrom...@googlegroups.com
To unsubscribe from this group, send email to
osfromscratc...@googlegroups.com
For more options, visit this group at
https://groups.google.com/group/osfromscratch?hl=en
 
---
You received this message because you are subscribed to the Google Groups "自己动手写操作系统" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osfromscratc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

王厉

unread,
Nov 8, 2013, 7:07:47 AM11/8/13
to orange
主要是我没有在源码中找到在GDT中添加LDT 描述符的语句,既然ldtr指向了ldt,还要在gdt中添加相同的值呢


From: wang_t...@hotmail.com
To: osfrom...@googlegroups.com
Subject: RE: 回复:[OSFS:4634] 关于多进程的ldt
Date: Fri, 8 Nov 2013 11:53:34 +0000

王厉

unread,
Nov 8, 2013, 7:31:58 AM11/8/13
to orange

找到了,在protect.c里面,看的太马虎了
Subject: RE: 回复:[OSFS:4635] 关于多进程的ldt
Date: Fri, 8 Nov 2013 12:07:47 +0000
Reply all
Reply to author
Forward
0 new messages