Commit Graph

198 Commits

Author SHA1 Message Date
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
chyyuu
40465b3963 Merge pull request #5 from xxzc/master
minor spell error
2015-03-23 11:25:13 +08:00
yuchen
2f904a1306 add linux little progs for locality 2015-03-23 09:11:45 +08:00
yuchen
1dc0d0aa01 add watch_linux_pagefault.md 2015-03-23 08:34:36 +08:00
yuchen
989c778c51 Merge branch 'master' of github.com:chyyuu/ucore_lab 2015-03-22 21:41:59 +08:00
yuchen
8cf5bb31ea add K&R malloc codes from https://github.com/wbraynen/malloc 2015-03-22 21:41:31 +08:00
chyyuu
b723a05fd1 Update kr_malloc_free.md 2015-03-22 21:05:39 +08:00
chyyuu
d7397bc33a Update buddy_system.md 2015-03-22 21:04:46 +08:00
yuchen
324f12ecfa add kr_malloc_free in related_info of lab2 2015-03-22 20:38:56 +08:00
yuchen
83bbd4bed2 add buddy system in related_info of lab2 2015-03-22 14:49:24 +08:00
yuchen
5df297d671 update lab1 report.md and add README.txt in labcodes_answer 2015-03-21 15:14:04 +08:00
Zhang Cheng
57221ebcf0 spell 2015-03-20 21:23:12 +08:00
chyyuu
9d7272399e Update README.md 2015-03-19 13:45:57 +08:00
chyyuu
36d4b36a1a Update README.md 2015-03-17 20:26:26 +08:00
chyyuu
6711c76196 Update README.md 2015-03-17 20:23:38 +08:00
chyyuu
18ee0eb572 Update README.md 2015-03-17 08:18:07 +08:00
chyyuu
979a1974f1 Update README.md 2015-03-17 08:17:24 +08:00
chyyuu
35848f1ce9 Update README.md 2015-03-17 08:05:59 +08:00
yuchen
1cd3573286 Merge branch 'master' of github.com:chyyuu/ucore_lab 2015-03-17 00:26:50 +08:00
yuchen
9a8a8d5ad6 delete redundant line: check_slob() succeeded... in la8/tools/grade.sh 2015-03-17 00:26:27 +08:00
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>
2015-03-16 18:37:58 +08:00
yuchen
cbf22a49c8 ignore chytesting DIR 2015-03-15 17:56:20 +08:00
chyyuu
2aecf2fe29 Merge pull request #4 from eternalNight/master
Make ucore_lab autotest compatible
2015-03-15 17:32:44 +08:00
chyyuu
6850714cf7 Update README.md 2015-03-15 17:31:42 +08:00
chyyuu
6c299702ab Update README.md
Add lab env setup info for MAC OS  from https://github.com/altkatz
2015-03-15 17:31:13 +08:00
yuchen
5ec5376f5b add ostep homeworks 2015-03-15 16:54:19 +08:00
yuchen
dab71e324d add info for pmboot.S 2015-03-14 00:17:50 +08:00
yuchen
7d29eb7cf0 A toy protect-mode bootloader can display string in real/protect mode of x86. 2015-03-13 22:44:25 +08:00
yuchen
e2a6da26b1 add more comments in toy.S 2015-03-13 22:08:13 +08:00
yuchen
de888683e8 add a toy bootloader in real mode of x86 2015-03-13 21:59:52 +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
chyyuu
45472ee038 Update README.md 2015-03-13 00:26:10 +08:00
chyyuu
61c83ee48f Update README.md 2015-03-13 00:24:42 +08:00
chyyuu
8791ed0d86 Update README.md 2015-03-13 00:20:40 +08:00
chyyuu
ddf39d499c Update README.md 2015-03-12 20:11:12 +08:00
chyyuu
9cbefa50dc Update README.md 2015-03-12 20:10:37 +08:00
chyyuu
80dfdbfb2d Update README.md 2015-03-12 16:15:23 +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
os_lab_user
03ea0994e3 Merge branch 'master' of github.com:chyyuu/ucore_lab 2015-03-11 13:07:36 +08:00
os_lab_user
d1cd830da5 add lab1-ex2 2015-03-11 13:06:58 +08:00
chyyuu
c2beb4ccdc Update README.md 2015-03-11 11:05:53 +08:00
chyyuu
e3a158064f Update README.md 2015-03-11 09:09:00 +08:00