lwecei / ucore_plus

ucore+ repository for OS laboratory 2015

Home Page:http://os.cs.tsinghua.edu.cn/oscourse/OsTrain2015#head-b563d32d93b24c99cf14cf88c1ce1abee742ad99

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

uCore_plus Travis CI status

##Current Progress We are working on ucore plus for amd64 smp porting. You can chekout the "amd64-smp" branch to see the newest progress of ucore plus.

##Quick Try

  1. download or clone ucore plus source code
  2. cd ucore
  3. make ARCH=i386 defconfig
  4. make
  5. make sfsimg
  6. uCore_run -d obj

##Makefile Cross Compile

set the environment variables:

export ARCH = ?

you can use archs: i386, arm, amd64, mips, or32, um, nios2

export CROSS_COMPILE = ?

(see Makefile in ./ucore)

Kconfig

The top level Kconfig is ./ucore/arch/xxx/Kconfig. You can include other Kconfig

(see ./ucore/arch/arm/Kconfig)

All config option is prefixed with UCONFIG_

Makefile

Supported variables: obj-y, dirs-y

(See ./ucore/kern-ucore/Makefile.build and Makefile.subdir)

Add a new ARCH

In arch/xxx, add Makefile.image and include.mk

***include.mk: define ARCH_INCLUDES and ARCH_CFLAGD, etc.

***Makefile.image: how to generate the executable for your platform.

***Kconfig: your top level Kconfig

***Makefile: recursively add Makefile in your arch directory.

More Document

See ucore/doc

About

ucore+ repository for OS laboratory 2015

http://os.cs.tsinghua.edu.cn/oscourse/OsTrain2015#head-b563d32d93b24c99cf14cf88c1ce1abee742ad99


Languages

Language:C 93.3%Language:C++ 3.1%Language:Assembly 1.0%Language:Yacc 0.8%Language:Makefile 0.5%Language:Lex 0.4%Language:Roff 0.4%Language:Objective-C 0.4%Language:Shell 0.2%Language:Python 0.1%Language:Batchfile 0.0%