Giter VIP home page Giter VIP logo

xyongcn / ucore_plus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chyyuu/ucore_os_plus

6.0 10.0 12.0 21.36 MB

ucore+ repository for OS laboratory 2015

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

Shell 0.19% Python 0.05% C 93.32% C++ 3.09% Assembly 0.96% Objective-C 0.35% Makefile 0.50% Lex 0.39% Yacc 0.77% Batchfile 0.01% Roff 0.39%

ucore_plus's Introduction

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

ucore_plus's People

Contributors

chnlkw avatar chyh1990 avatar crystala avatar cty12 avatar dstray avatar geraint0923 avatar gnocuil avatar grayluck avatar haozhun avatar jeasinema avatar liumx10 avatar mfhraven avatar syimyuzya avatar tinytangent avatar uuyych avatar xinggaoy avatar xyongcn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.