Skip to content

Project Directory Structure

jbw3 edited this page Dec 29, 2016 · 3 revisions

Project Directory Structure

The project directory structure is laid out in the following way:

OS
├── bin
├── doc
├── lib
├── src
│   ├── kernel
│   │   └── arch
│   │       ├── arm
│   │       │   └── cortexA7
│   │       └── x86
│   │           ├── 32Bit
│   │           ├── 64Bit
│   │           └── common
│   ├── libs
│   │   ├── c
│   │   └── c++
│   └── programs
└── tools

doc

Documentation directory.

src

Source code directory. This includes the source code for the kernel, libraries, and programs.

kernel

The kernel source code. This is divided into sub-directories for architecture families such as x86 and ARM.

libs

Library source code. This includes the C and C++ standard libraries. Eventually, it should contain a posix library as well.

programs

The source code for programs. Eventually, it will contain programs like cd, ls, and pwd. Currently, it only contains some test programs.

tools

This directory contains various tools to aid in development. This includes scripts to build GCC, create an OS ISO image, etc.

Clone this wiki locally