《操作系统》的实验代码。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

112 lines
3.2 KiB

преди 6 години
преди 9 години
преди 6 години
преди 9 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 9 години
преди 6 години
преди 9 години
преди 6 години
преди 9 години
преди 6 години
преди 9 години
преди 6 години
преди 9 години
преди 6 години
преди 9 години
преди 6 години
преди 6 години
преди 6 години
преди 9 години
преди 6 години
преди 7 години
преди 6 години
преди 9 години
преди 6 години
преди 9 години
преди 6 години
  1. INTRODUCTION
  2. ============
  3. ucore labs was used as OS Experiments in OS Course Of Dept. of Computer Science & Technology, Tsinghua University.
  4. MAINTAINERS
  5. ===========
  6. OS course for Dept. CS. in Tsinghua Univ., and MOOC OS course
  7. -----------------------------------
  8. - Chen, Yu: http://soft.cs.tsinghua.edu.cn/~chen
  9. - Yong, Xiang: xyong@tsinghua.edu.cn
  10. - Mao, Junjie: eternal.n08@gmail.com
  11. - Zhang, Wei: zhangwei15@mails.tsinghua.edu.cn
  12. CONTENTS
  13. ========
  14. labs info
  15. ----------------
  16. ```
  17. lab0: preparing
  18. lab1: boot/protect mode/stack/interrupt
  19. lab2: physical memory management
  20. lab3: virtual memory management
  21. lab4: kernel thread management
  22. lab5: user process management
  23. lab6: scheduling
  24. lab7: mutex/sync
  25. lab8: filesystem
  26. ```
  27. TESTED ENVIRONMENT
  28. ==================
  29. ```
  30. UBUNTU 14.04+: GCC-4.8.2+ CLANG-3.5+
  31. FEDORA 20+: GCC-4.8.2+
  32. ```
  33. EXERCISE STEPS
  34. ==============
  35. ```
  36. 0 Get the newest os lab src codes/docs.(Insure you can connect to github in ubuntu running on VrtualBox)
  37. 0.1 If you try to get all codes
  38. $rm -rf ucore_lab
  39. $git clone git://github.com/chyyuu/ucore_os_lab.git
  40. $cd ucore_lab
  41. 0.2 If you gloned ucore_lab and only try to get the updated codes
  42. $cd ucore_os_lab
  43. $git pull
  44. 1 $cd labX
  45. 2 read codes (specially the modified or added files)
  46. 3 add your code
  47. 4 compile your code
  48. $make
  49. 5 check your code
  50. $make qemu
  51. OR
  52. $make grade
  53. 6 debug your code
  54. $make debug
  55. 7 handin your code
  56. $make handin
  57. ```
  58. OPTION
  59. ==============
  60. Now, ucore suuport LLVM/Clang-3.5 +
  61. in step4:
  62. $ USELLVM=1 make
  63. then you will use clang to compile ucore
  64. GRADE/RANK
  65. ==========
  66. ```
  67. Superman: Finish all OS labs in one month by yourself
  68. Master: Finish all OS labs in two month by yourself
  69. Veteran: Finish all OS labs in three month by yourself
  70. Apprentice: Finish all OS labs in one semester with other guy's help
  71. ```
  72. RESOURCE REPOSITORY
  73. ===================
  74. ```
  75. Basic OS labs (for students who learn OS course)
  76. The newest lab codes and docs is in https://github.com/chyyuu/ucore_os_lab
  77. Advanced OS labs (for OS geeks or hackers or guys with Superman/Master Rank)
  78. The newest lab codes and docs is in https://github.com/chyyuu/ucore_plus
  79. ```
  80. UCORERS (Contributors)
  81. ======================
  82. Junjie Mao, Yuheng Chen, Cong Liu, Yang Yang, Zhun Qu, Shengwei Ren, Wenlei Zhu, Cao Zhang, Tong Sen, Xu Chen,
  83. Cang Nan, Yujian Fang, Wentao Han, Kaichen Zhang, Xiaolin Guo, Tianfan Xue, Gang Hu, Cao Liu, Yu Su,Xinhao Yuan, Wei Zhang, Kaixiang Lei...
  84. OTHER INFO
  85. ==========
  86. ucore is a teaching OS which is derived from xv6&jos in MIT, OS161 in Harvard and Linux.
  87. ucore was developed and used in Department of Computer Science & Technology, Institute for Interdisciplinary Information Sciences, Tsinghua University.
  88. The codes in the files that constitute xv6&jos are Copyright (2006-Current) Frans Kaashoek, Robert Morris, and Russ Cox and uses MIT License.
  89. The codes in the files that constitute OS/161 are written by David A. Holland.
  90. The codes in the files that constitute ucore are Copyright (2010-Current) Yu Chen, Naizheng Wang, Yong Xiang and uses GPL License.
  91. The documents in the files that constitute ucore are Copyright (2010-Current) Yu Chen, Yong Xiang and uses Creative Commons Attribution/Share-Alike (CC-BY-SA) License.