Commit Graph

29 Commits

Author SHA1 Message Date
ArchStacker
124dd65222 Fix the unsuitable use of pa2page in lab7 2015-05-04 19:52:35 +08:00
ArchStacker
7f425b91b1 Fix the unsuitable use of pa2page in lab6 2015-05-04 19:51:34 +08:00
ArchStacker
2cde1118f4 Fix the unsuitable use of pa2page in lab5 2015-05-04 19:45:53 +08:00
ArchStacker
bca0ff491c Fix the unsuitable use of pa2page in lab4 2015-05-04 19:44:13 +08:00
ArchStacker
50905b1ec2 Fix the unsuitable use of pa2page in lab3 2015-05-04 19:37:36 +08:00
ArchStacker
eec735afbf Fix the unsuitable use of pa2page in lab2 2015-05-04 19:30:29 +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
2d1c2001f5 Create the sfs root directory if missing
Signed-off-by: Junjie Mao <junjie.mao@hotmail.com>
2015-03-24 10:34:22 +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
Zhang Cheng
57221ebcf0 spell 2015-03-20 21:23:12 +08:00
yuchen
9a8a8d5ad6 delete redundant line: check_slob() succeeded... in la8/tools/grade.sh 2015-03-17 00:26:27 +08:00
chyyuu
2aecf2fe29 Merge pull request #4 from eternalNight/master
Make ucore_lab autotest compatible
2015-03-15 17:32:44 +08:00
yuchen
6770c2a473 update console.c for more correct comments 2015-03-13 20:38:58 +08:00
yuchen
a5f0ac0511 update console.c for comments 2015-03-13 20:29:34 +08:00
yuchen
7f8b5a20fa update console.c for more info about CGA and 6845 chip 2015-03-13 20:21:44 +08:00
Junjie Mao
642e3f88ae Update base commit
Signed-off-by: Junjie Mao <eternal.n08@gmail.com>
2015-03-12 16:06:07 +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
e703e976b4 ADD make log IN Makefile 2015-03-10 23:05:44 +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
d9ec12887b add some handy shell 2014-07-28 00:38:16 +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