yuchen
78cb3d7156
add update of lab2, lab2_result Makefile from https://github.com/Archstacker/ucore_lab/
9 anni fa
ArchStacker
6fbc1fa90b
Correct the wrong spelling of put_pgdir
9 anni fa
yuchen
8acdcc2499
delete unused fs_struct in proc.h
9 anni fa
ArchStacker
87248a2704
Remove the addition space
9 anni fa
ArchStacker
dd4e1e12a3
Correct a spelling mistake
9 anni fa
ArchStacker
c2eeba8253
Add tests in lab8:swap_fifo.c
9 anni fa
ArchStacker
898573d0e2
Add tests in lab7:swap_fifo.c
9 anni fa
ArchStacker
5b87fa766e
Add tests in lab6:swap_fifo.c
9 anni fa
ArchStacker
25e180d515
Add tests in lab5:swap_fifo.c
9 anni fa
ArchStacker
b25569ee33
Add tests in lab4:swap_fifo.c
9 anni fa
ArchStacker
0844827afa
Add tests in lab3:swap_fifo.c
9 anni fa
ArchStacker
6f0683e07d
Fix the unsuitable use of pa2page in lab8
9 anni fa
ArchStacker
124dd65222
Fix the unsuitable use of pa2page in lab7
9 anni fa
ArchStacker
7f425b91b1
Fix the unsuitable use of pa2page in lab6
9 anni fa
ArchStacker
2cde1118f4
Fix the unsuitable use of pa2page in lab5
9 anni fa
ArchStacker
bca0ff491c
Fix the unsuitable use of pa2page in lab4
9 anni fa
ArchStacker
50905b1ec2
Fix the unsuitable use of pa2page in lab3
9 anni fa
ArchStacker
eec735afbf
Fix the unsuitable use of pa2page in lab2
9 anni fa
yuchen
5d8e661a1a
update lab6 :: deleting timer
9 anni fa
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>
9 anni fa
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>
9 anni fa
Junjie Mao
2d1c2001f5
Create the sfs root directory if missing
Signed-off-by: Junjie Mao <junjie.mao@hotmail.com>
9 anni fa
Junjie Mao
b20d96a599
Add a few configuration files for emacsers
Signed-off-by: Junjie Mao <junjie.mao@hotmail.com>
9 anni fa
Zhang Cheng
57221ebcf0
spell
9 anni fa
yuchen
9a8a8d5ad6
delete redundant line: check_slob() succeeded... in la8/tools/grade.sh
9 anni fa
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>
9 anni fa
yuchen
6770c2a473
update console.c for more correct comments
9 anni fa
yuchen
a5f0ac0511
update console.c for comments
9 anni fa
yuchen
7f8b5a20fa
update console.c for more info about CGA and 6845 chip
9 anni fa
Junjie Mao
642e3f88ae
Update base commit
Signed-off-by: Junjie Mao <eternal.n08@gmail.com>
9 anni fa
Junjie Mao
1d8c85670d
Save intermediate logs
Signed-off-by: Junjie Mao <eternal.n08@gmail.com>
9 anni fa
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>
9 anni fa
Junjie Mao
6bee838784
Messages may have escaped characters
Signed-off-by: Junjie Mao <eternal.n08@gmail.com>
9 anni fa
yuchen
e703e976b4
ADD make log IN Makefile
9 anni fa
yuchen
c8e545dfb1
update Makefiles with qemu -no-reboot option
9 anni fa
yuchen
09ed4d04fb
update lab1-8 Makefile for clang compiling
9 anni fa
yuchen
87059df293
update for mooc OS labs
10 anni fa
chyyuu
d9ec12887b
add some handy shell
10 anni fa
chyyuu
52d573e68a
add LLVM/clang-3.5+ support
10 anni fa
chyyuu
0612d83623
update comments in page_remote_pte function::pmm.c
11 anni fa
chyyuu
3f8d5876b9
update name of code to labcodes
11 anni fa