Commit Graph

229 Commits

Author SHA1 Message Date
yuchen
f9b1bb3b66 :add lab7 spoc exercise related codes 2015-04-29 12:38:37 +08:00
yuchen
69afb3405b update buddy system finish info in lab2_X.md 2015-04-25 10:48:57 +08:00
yuchen
a2622383e9 add more interesting labx_X challenges 2015-04-24 19:10:43 +08:00
yuchen
3dce81e73a update labX finish info 2015-04-24 18:14:53 +08:00
yuchen
6684504c82 updte lab2_X finish info 2015-04-24 17:48:07 +08:00
yuchen
5381167e3b update lab2_X finish info 2015-04-24 17:45:03 +08:00
yuchen
972e2ece76 add --no-reboot in lab2_result 2015-04-24 17:32:45 +08:00
chyyuu
0a4ca0d275 Update lab1-boot-with-grub2-in-udisk.md 2015-04-22 23:55:52 +08:00
yuchen
885eb12a76 udpate labXs 2015-04-22 23:48:46 +08:00
yuchen
03220078ed add lab6 concept spoc discuss 2015-04-22 11:14:27 +08:00
yuchen
7d3b5941ed add lab1_X, labx_X info 2015-04-20 22:59:14 +08:00
yuchen
f39299c9a2 add exercise of lab5 spoc discussion 2015-04-20 12:44:41 +08:00
yuchen
331b8dff5a add ucore_kernel_in_lab1 which can be loaded by grub2 in u disk on real machine 2015-04-20 10:38:10 +08:00
yuchen
8b9f54ec50 update lab1_X.md 2015-04-16 23:10:50 +08:00
yuchen
73a92ede54 update lab7_X 2015-04-16 11:16:34 +08:00
yuchen
a35b4ee311 Update labX4,5 2015-04-16 11:14:33 +08:00
yuchen
6f8839df96 add labX challenges info 2015-04-16 10:22:51 +08:00
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