Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
xv6-public
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
问题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
银宸时代
OS Lab Group
奖励实验
xv6-public
提交
cffa9543
提交
cffa9543
8月 28, 2007
创建
作者:
rsc
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
nits
上级
5573c8f2
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
15 行增加
和
27 行删除
+15
-27
BUGS
BUGS
+0
-16
bootasm.S
bootasm.S
+0
-0
defs.h
defs.h
+3
-3
runoff
runoff
+7
-2
toc.ftr
toc.ftr
+5
-6
没有找到文件。
BUGS
浏览文件 @
cffa9543
proc.c:
as a consequence of the implementation of proc_kill,
any loop calling sleep should check for p->killed
and be able to break out with an error return.
it is better if you check *before* sleep.
syscall.c:
cannot convince runoff1 to split the extern lists
to fill previous page completely.
formatting:
formatting:
file.c filewrite leaks onto next page
need to fix PAGEBREAK mechanism
need to fix PAGEBREAK mechanism
fs.c: grep XXX
sysfile.c: why does mknod take a type argument?
bootasm.S
浏览文件 @
cffa9543
defs.h
浏览文件 @
cffa9543
...
@@ -96,16 +96,16 @@ int pipewrite(struct pipe*, char*, int);
...
@@ -96,16 +96,16 @@ int pipewrite(struct pipe*, char*, int);
// proc.c
// proc.c
struct
proc
*
copyproc
(
struct
proc
*
);
struct
proc
*
copyproc
(
struct
proc
*
);
void
exit
(
void
);
int
growproc
(
int
);
int
growproc
(
int
);
int
kill
(
int
);
void
pinit
(
void
);
void
pinit
(
void
);
void
procdump
(
void
);
void
procdump
(
void
);
void
exit
(
void
);
int
kill
(
int
);
int
wait
(
void
);
void
scheduler
(
void
)
__attribute__
((
noreturn
));
void
scheduler
(
void
)
__attribute__
((
noreturn
));
void
setupsegs
(
struct
proc
*
);
void
setupsegs
(
struct
proc
*
);
void
sleep
(
void
*
,
struct
spinlock
*
);
void
sleep
(
void
*
,
struct
spinlock
*
);
void
userinit
(
void
);
void
userinit
(
void
);
int
wait
(
void
);
void
wakeup
(
void
*
);
void
wakeup
(
void
*
);
void
yield
(
void
);
void
yield
(
void
);
...
...
runoff
浏览文件 @
cffa9543
...
@@ -109,15 +109,20 @@ perl -e '
...
@@ -109,15 +109,20 @@ perl -e '
if (/^([0-9]+) #define +([A-za-z0-9_]+) +?\(.*/) {
if (/^([0-9]+) #define +([A-za-z0-9_]+) +?\(.*/) {
print "$1 $2\n"
print "$1 $2\n"
}
}
elsif (/^([0-9]+) #define +([A-Za-z0-9_]+) +([^ ]+)/) {
elsif (/^([0-9]+) #define +([A-Za-z0-9_]+) +([^ ]+)/) {
print "$1 $2 $3\n";
print "$1 $2 $3\n";
}
}
elsif (/^([0-9]+) #define +([A-Za-z0-9_]+)/) {
elsif (/^([0-9]+) #define +([A-Za-z0-9_]+)/) {
print "$1 $2\n";
print "$1 $2\n";
}
}
if(/^^([0-9]+) \.globl ([a-zA-Z0-9_]+)/){
$isglobl{$2} = 1;
}
if(/^^([0-9]+) ([a-zA-Z0-9_]+):$/ && $isglobl{$2}){
print "$1 $2\n";
}
if (/\(/) {
if (/\(/) {
next;
next;
}
}
...
...
toc.ftr
浏览文件 @
cffa9543
...
@@ -6,10 +6,9 @@ on the same line as the name, the line number (or, in a few cases, numbers)
...
@@ -6,10 +6,9 @@ on the same line as the name, the line number (or, in a few cases, numbers)
where the name is defined. Successive lines in an entry list the line
where the name is defined. Successive lines in an entry list the line
numbers where the name is used. For example, this entry:
numbers where the name is used. For example, this entry:
namei 4610
swtch 2256
0333 4610 4709 4758
0311 1928 1962 2255
4808 4857 4866 5264
2256
5277 5362 5410 5490
indicates that
namei is defined on line 4610 and is mentioned on twel
ve lines
indicates that
swtch is defined on line 2256 and is mentioned on fi
ve lines
on sheets 03,
46, 47, 48, 52, 53, and 54
.
on sheets 03,
19, and 22
.
编写
预览
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论