yuchen
8acdcc2499
delete unused fs_struct in proc.h
pirms 9 gadiem
ArchStacker
6f0683e07d
Fix the unsuitable use of pa2page in lab8
pirms 9 gadiem
ArchStacker
124dd65222
Fix the unsuitable use of pa2page in lab7
pirms 9 gadiem
ArchStacker
7f425b91b1
Fix the unsuitable use of pa2page in lab6
pirms 9 gadiem
ArchStacker
2cde1118f4
Fix the unsuitable use of pa2page in lab5
pirms 9 gadiem
ArchStacker
bca0ff491c
Fix the unsuitable use of pa2page in lab4
pirms 9 gadiem
ArchStacker
50905b1ec2
Fix the unsuitable use of pa2page in lab3
pirms 9 gadiem
ArchStacker
eec735afbf
Fix the unsuitable use of pa2page in lab2
pirms 9 gadiem
yuchen
5d8e661a1a
update lab6 :: deleting timer
pirms 9 gadiem
Junjie Mao
d9a83bd7be
Adjust the time slice to 50ms
The original time slice (200ms) is too large for the priority test to
generate a satisfactory result in 20s. If we only schedule 5 times a
second, there are only 100 pick_next calls to the scheduler.
I believe making scheduling more frequently does little harm to the
system. Actually more scheduling opportunities may also reveal bugs
which are not triggered previously. Adopting smaller time slices also
allows us to reduce the time spent on the priority test, which can
benefit the autotesting system.
Signed-off-by: Junjie Mao <junjie.mao@hotmail.com>
pirms 9 gadiem
Junjie Mao
5881597323
Add target run-nox-<program>
This target allows starting ucore with the specified user program in
pure terminal.
Signed-off-by: Junjie Mao <junjie.mao@hotmail.com>
pirms 9 gadiem
Junjie Mao
2d1c2001f5
Create the sfs root directory if missing
Signed-off-by: Junjie Mao <junjie.mao@hotmail.com>
pirms 9 gadiem
Junjie Mao
b20d96a599
Add a few configuration files for emacsers
Signed-off-by: Junjie Mao <junjie.mao@hotmail.com>
pirms 9 gadiem
Zhang Cheng
57221ebcf0
spell
pirms 9 gadiem
yuchen
9a8a8d5ad6
delete redundant line: check_slob() succeeded... in la8/tools/grade.sh
pirms 9 gadiem
Junjie Mao
afb14670fd
Remove slob-related checks in grade.sh
These checks should no longer exist after simplification.
Signed-off-by: Junjie Mao <eternal.n08@gmail.com>
pirms 9 gadiem
yuchen
6770c2a473
update console.c for more correct comments
pirms 9 gadiem
yuchen
a5f0ac0511
update console.c for comments
pirms 9 gadiem
yuchen
7f8b5a20fa
update console.c for more info about CGA and 6845 chip
pirms 9 gadiem
Junjie Mao
642e3f88ae
Update base commit
Signed-off-by: Junjie Mao <eternal.n08@gmail.com>
pirms 9 gadiem
Junjie Mao
1d8c85670d
Save intermediate logs
Signed-off-by: Junjie Mao <eternal.n08@gmail.com>
pirms 9 gadiem
Junjie Mao
67f05c0ce0
break on the physical address of brkfunc
The kernel may panic early when paging is not yet configured. Breaking only on
the virtual address of brkfunc does not work in this case and leads to timeouts
during 'make grade'.
Signed-off-by: Junjie Mao <eternal.n08@gmail.com>
pirms 9 gadiem
Junjie Mao
6bee838784
Messages may have escaped characters
Signed-off-by: Junjie Mao <eternal.n08@gmail.com>
pirms 9 gadiem
yuchen
e703e976b4
ADD make log IN Makefile
pirms 9 gadiem
yuchen
c8e545dfb1
update Makefiles with qemu -no-reboot option
pirms 9 gadiem
yuchen
09ed4d04fb
update lab1-8 Makefile for clang compiling
pirms 9 gadiem
yuchen
87059df293
update for mooc OS labs
pirms 9 gadiem
chyyuu
d9ec12887b
add some handy shell
pirms 10 gadiem
chyyuu
52d573e68a
add LLVM/clang-3.5+ support
pirms 10 gadiem
chyyuu
0612d83623
update comments in page_remote_pte function::pmm.c
pirms 11 gadiem
chyyuu
3f8d5876b9
update name of code to labcodes
pirms 11 gadiem