Commit Graph

16 Commits

Author SHA1 Message Date
ArchStacker
5b87fa766e Add tests in lab6:swap_fifo.c 2015-05-10 00:39:30 +08:00
ArchStacker
7f425b91b1 Fix the unsuitable use of pa2page in lab6 2015-05-04 19:51:34 +08:00
yuchen
5d8e661a1a update lab6 :: deleting timer 2015-04-09 20:26:03 +08:00
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>
2015-03-24 10:52:27 +08:00
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>
2015-03-24 10:43:49 +08:00
Junjie Mao
b20d96a599 Add a few configuration files for emacsers
Signed-off-by: Junjie Mao <junjie.mao@hotmail.com>
2015-03-24 10:20:35 +08:00
chyyuu
2aecf2fe29 Merge pull request #4 from eternalNight/master
Make ucore_lab autotest compatible
2015-03-15 17:32:44 +08:00
Junjie Mao
1d8c85670d Save intermediate logs
Signed-off-by: Junjie Mao <eternal.n08@gmail.com>
2015-03-12 16:05:28 +08:00
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>
2015-03-12 16:03:47 +08:00
Junjie Mao
6bee838784 Messages may have escaped characters
Signed-off-by: Junjie Mao <eternal.n08@gmail.com>
2015-03-12 16:01:32 +08:00
yuchen
c8e545dfb1 update Makefiles with qemu -no-reboot option 2015-03-10 22:03:43 +08:00
yuchen
09ed4d04fb update lab1-8 Makefile for clang compiling 2015-03-03 20:14:10 +08:00
yuchen
87059df293 update for mooc OS labs 2015-01-30 20:20:30 +08:00
chyyuu
52d573e68a add LLVM/clang-3.5+ support 2014-07-28 00:31:56 +08:00
chyyuu
0612d83623 update comments in page_remote_pte function::pmm.c 2013-10-12 07:59:22 +08:00
chyyuu
3f8d5876b9 update name of code to labcodes 2013-09-17 22:21:48 +08:00