Commit Graph

312 Commits

Author SHA1 Message Date
yuchen
a0ccd227da update related_info::lab0 2015-04-16 08:43:14 +08:00
yuchen
84c96b3c3d delete hash.c 2015-04-15 12:49:01 +08:00
yuchen
258bcb059e add lab4 spoc discuss 2015-04-15 11:23:03 +08:00
yuchen
391e04ee98 Merge branch 'master' of github.com:chyyuu/ucore_lab 2015-04-09 20:26:35 +08:00
yuchen
5d8e661a1a update lab6 :: deleting timer 2015-04-09 20:26:03 +08:00
chyyuu
89b750f8d2 Update process-cpuio-homework.md 2015-04-08 11:58:58 +08:00
yuchen
9926671507 add process-cpuio-homework.md 2015-04-08 11:28:37 +08:00
yuchen
87d6923d69 add process-cpuio-homework for lab5 2015-04-08 11:25:14 +08:00
yuchen
ab237ddb70 update lab4 process-concept-homework.md 2015-04-08 11:24:18 +08:00
yuchen
c4e7dbd910 add process-concept spoc homework 2015-04-07 10:21:28 +08:00
yuchen
316bbf6b92 fix bug in lab1-ex3.c, %% eax --> %eax in basic inline asm
the reference is from
https://gcc.gnu.org/onlinedocs/gcc.pdf (5.0.0 pre-release),
section 6.43 (How to Use Inline Assembly Language in C Code)
and http://www.ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html

syntax of basic asm statement:
asm [ volatile ] ( Assembler Instructions )

syntax of extended asm statement
asm [volatile] ( Assembler Template
: Output Operands
[ : Input Operands
[ : Clobbers ] ])

Alanpsc, thanks you!
2015-04-01 11:49:42 +08:00
yuchen
4502881f06 add related_info on page-replacement-policy algorithms 2015-03-30 12:26:26 +08:00
chyyuu
1bcd4b231f Update README.md 2015-03-27 22:22:30 +08:00
chyyuu
701c7b9a9f Merge pull request #7 from eternalNight/master
Fix priority test and lab8 makefile along with some minor maintenances
2015-03-25 08:38:59 +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
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