Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
xv6-public
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
问题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
银宸时代
OS Lab Group
奖励实验
xv6-public
提交
801affcd
提交
801affcd
9月 03, 2006
创建
作者:
kaashoek
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
centralize credits
上级
97a5bba6
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
15 行增加
和
15 行删除
+15
-15
README
README
+14
-0
asm.h
asm.h
+0
-1
bootasm.S
bootasm.S
+0
-4
bootother.S
bootother.S
+0
-1
elf.h
elf.h
+0
-1
lapic.c
lapic.c
+0
-5
mmu.h
mmu.h
+0
-1
mp.h
mp.h
+1
-2
没有找到文件。
README
浏览文件 @
801affcd
...
...
@@ -10,3 +10,17 @@ Communications; ISBN: 1-57398-013-7; 1st edition (June 14, 2000). See
also http://pdos.csail.mit.edu/6.828/2006/v6.html, which provides
pointers to on-line resources for v6.
Code was used from the following sources:
JOS (asm.h, elf.h, mmu.h, bootasm.S, ide.c, and others)
Plan 9 (bootother.S, mp.h, mp.c, ioapic.h, lapic.c)
FreeBSD (ioapic.c)
The following people made contributions:
Russ Cox (context switching, locking)
Cliff Frey (MP)
Xiao Yu (MP)
If you spot errors or have suggestions for improvement, please send
email to Frans Kaashoek and Robert Morris
({kaashoek,rtm}@csail.mit.edu). This version is the very first one,
so don't be surprised if there are errors or the code is unclear.
asm.h
浏览文件 @
801affcd
//
// macros to create x86 segments from assembler
// from JOS
//
#define SEG_NULL \
...
...
bootasm.S
浏览文件 @
801affcd
#
# from JOS
#
#include "asm.h"
.set PROT_MODE_CSEG,0x8 # code segment selector
...
...
bootother.S
浏览文件 @
801affcd
...
...
@@ -14,7 +14,6 @@
* mp.c puts the correct %esp in start-4, and the place to jump
* to in start-8.
*
* Credit: Cliff Frey and Plan 9
*/
.set PROT_MODE_CSEG,0x8 # code segment selector
...
...
elf.h
浏览文件 @
801affcd
//
// format of an ELF executable file
// from JOS
//
#define ELF_MAGIC 0x464C457FU
/* "\x7FELF" in little endian */
...
...
lapic.c
浏览文件 @
801affcd
...
...
@@ -7,11 +7,6 @@
#include "mmu.h"
#include "proc.h"
/*
* Credit: Plan 9 sources, Intel MP spec, and Cliff Frey
*/
enum
{
/* Local APIC registers */
LAPIC_ID
=
0x0020
,
/* ID */
LAPIC_VER
=
0x0030
,
/* Version */
...
...
mmu.h
浏览文件 @
801affcd
/*
* This file contains definitions for the x86 memory management unit (MMU).
* from JOS.
*/
// Eflags register
...
...
mp.h
浏览文件 @
801affcd
/*
* MultiProcessor Specification Version 1.[14].
*
See
MultiProcessor Specification Version 1.[14].
*
* Credit: Plan 9 sources
*/
struct
mp
{
/* floating pointer */
...
...
编写
预览
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论