No description
Find a file
Kofi Doku Atuah 56030fc3cc x86: Fix cpuid family/model composition
Fixes a bug where previously MODEL_ID() was defined as:
    `#define MODEL_ID(x) ( ((x & 0xf0000) >> 16) + (x & 0xf0) )`

This was incorrect because (1) it didn't take into account the conditional
nature of the extended_model_ID, and (2) it's actually shifting the
extended_model_ID into the low bits and keeping the model_ID in the high bits,
when it should be the other way around.

This patch also introduces a foundation for more sane testing of CPU vendor,
family, model and brand_ID.
2016-07-15 17:12:25 +10:00
include x86: Fix cpuid family/model composition 2016-07-15 17:12:25 +10:00
libsel4 SELFOUR-566: Decouble seL4_DebugNameThread from CONFIG_PRINTING 2016-07-15 12:30:17 +10:00
manual SELFOUR-427: Correct discussion of untyped allocation 2016-05-26 12:22:12 +10:00
src x86: Fix cpuid family/model composition 2016-07-15 17:12:25 +10:00
tools bitfield_gen: write output files atomically 2016-06-19 21:32:49 +10:00
.gitignore add aarch32 version of generated invocation.h to .gitignore 2016-02-12 11:54:53 +11:00
CAVEATS-generic.txt README.md: Update README for verified platform 2016-06-27 09:41:45 +10:00
CAVEATS-ia32.txt Release snapshot 2014-07-18 05:03:59 +10:00
CONTRIBUTING.md update seL4.systems links 2015-10-14 09:46:01 +11:00
CONTRIBUTORS.md more CONTRIBUTORS 2015-10-14 10:01:39 +11:00
gdb-macros SELFOUR-317: rename async endpoint to notification object, and other 2015-11-09 17:18:43 +11:00
Kconfig SELFOUR-448 Benchmark: Track thread's CPU utilisation time 2016-06-24 12:43:09 +10:00
LICENSE_BSD2.txt Release snapshot 2014-07-18 05:03:59 +10:00
LICENSE_GPLv2.txt adjust LICENSE file name to header reference. 2014-07-18 09:24:29 +02:00
Makefile SELFOUR-566: Decouble seL4_DebugNameThread from CONFIG_PRINTING 2016-07-15 12:30:17 +10:00
README.md README.md: Update README for serial output 2016-06-27 09:41:45 +10:00
VERSION update VERSION file to 3.2.0-dev 2016-07-13 17:31:47 +10:00

The seL4 Repository

This repository contains the source code of seL4 microkernel.

For details about the seL4 microkernel, including details about its formal correctness proof, please see the sel4.systems website and associated FAQ.

DOIs for citing recent releases of this repository:

  • DOI

We welcome contributions to seL4. Please see the website for information on how to contribute.

This repository is usually not used in isolation, but as part of the build system in a larger project.

Repository Overview

  • include and src: C and ASM source code of seL4
  • tools: build tools
  • libsel4: C bindings for the seL4 ABI
  • manual: LaTeX sources of the seL4 reference manual

Build Instructions

tl;dr:

TOOLPREFIX=arm-none-eabi- ARCH=arm PLAT=imx6 ARMV=armv7-a CPU=cortex-a9 \
make

The kernel source requires a cross-compiler for the target architecture. To build using make, follow these instructions:

  • Ensure that the appropriate cross-compiler for your target architecture is installed.

  • Set the TOOLPREFIX environment variable to your cross-compiler's prefix. E.g. arm-none-eabi-.

  • Set the ARCH, PLAT, ARMV and CPU variables for the intended target architecture and platform, chosen from the following lists:

    ARCH PLAT ARMV CPU
    arm imx31 armv6 arm1136jf-s
    arm omap3 armv7-a cortex-a8
    arm am335x armv7-a cortex-a8
    arm imx6 armv7-a cortex-a9
    ia32 pc99
  • For a debug build, append DEBUG=y and to see serial output additionally append CONFIG_KERNEL_EXTRA_CPPFLAGS="-DCONFIG_PRINTING=y -DCONFIG_USER_STACK_TRACE_LENGTH=16".

See the seL4 website for more comprehensive build instructions.

License

The files in this repository are released under standard open source licenses. Please see the individual file headers and LICENSE_GPLv2.txt and LICENSE_BSD2.txt files for details.