Commit Graph

244 Commits

Author SHA1 Message Date
ArchStacker
47afad0cca Fix the unsuitable use of pa2page in lab7_result 2015-05-04 19:52:58 +08:00
ArchStacker
124dd65222 Fix the unsuitable use of pa2page in lab7 2015-05-04 19:52:35 +08:00
ArchStacker
9be5e162c0 Fix the unsuitable use of pa2page in lab6_result 2015-05-04 19:52:21 +08:00
ArchStacker
7f425b91b1 Fix the unsuitable use of pa2page in lab6 2015-05-04 19:51:34 +08:00
ArchStacker
89a9eb84d0 Fix the unsuitable use of pa2page in lab5_result 2015-05-04 19:50:34 +08:00
ArchStacker
2cde1118f4 Fix the unsuitable use of pa2page in lab5 2015-05-04 19:45:53 +08:00
ArchStacker
77d23ca519 Fix the unsuitable use of pa2page in lab4_result 2015-05-04 19:44:51 +08:00
ArchStacker
bca0ff491c Fix the unsuitable use of pa2page in lab4 2015-05-04 19:44:13 +08:00
ArchStacker
17057e1f1f Fix the unsuitable use of pa2page in lab3_result 2015-05-04 19:38:43 +08:00
ArchStacker
50905b1ec2 Fix the unsuitable use of pa2page in lab3 2015-05-04 19:37:36 +08:00
ArchStacker
d02c4afc80 Fix the unsuitable use of pa2page in lab2_result 2015-05-04 19:32:37 +08:00
ArchStacker
eec735afbf Fix the unsuitable use of pa2page in lab2 2015-05-04 19:30:29 +08:00
yuchen
b233b49dcb Merge branch 'master' of github.com:chyyuu/ucore_lab 2015-04-29 12:38:47 +08:00
yuchen
f9b1bb3b66 :add lab7 spoc exercise related codes 2015-04-29 12:38:37 +08:00
chyyuu
81a1c96104 Update lab5_X.md 2015-04-27 13:57:12 +08:00
chyyuu
5213ab329b Update lab5_X.md 2015-04-27 13:56:38 +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