Contiki OS for 6502 based computers
Go to file
Michael LeMay 4cdb7ba9b6 x86: Add TSS-based protection domain support
This patch extends the protection domain framework with an additional
plugin to use Task-State Segment (TSS) structures to offload much of
the work of switching protection domains to the CPU.  This can save
space compared to paging, since paging requires two 4KiB page tables
and one 32-byte page table plus one whole-system TSS and an additional
32-byte data structure for each protection domain, whereas the
approach implemented by this patch just requires a 128-byte data
structure for each protection domain.  Only a small number of
protection domains will typically be used, so
n * 128 < 8328 + (n * 32).

For additional information, please refer to cpu/x86/mm/README.md.

GCC 6 is introducing named address spaces for the FS and GS segments
[1].  LLVM Clang also provides address spaces for the FS and GS
segments [2].  This patch also adds support to the multi-segment X86
memory management subsystem for using these features instead of inline
assembly blocks, which enables type checking to detect some address
space mismatches.

[1] https://gcc.gnu.org/onlinedocs/gcc/Named-Address-Spaces.html
[2] http://llvm.org/releases/3.3/tools/clang/docs/LanguageExtensions.html#target-specific-extensions
2016-04-22 08:16:39 -07:00
apps Merge pull request #1438 from jkent/jsonparse 2016-03-11 14:23:17 +01:00
core Merge pull request #1387 from simonduq/pr/ndfree-rpl-fix 2016-03-14 16:42:45 +01:00
cpu x86: Add TSS-based protection domain support 2016-04-22 08:16:39 -07:00
dev Fix ip64 warnings 2016-02-04 00:26:54 +01:00
doc Fix doxygen warning 2016-03-15 10:25:05 +01:00
examples x86: Add support for (paging-based) protection domains 2016-03-21 17:18:06 -07:00
lib/newlib Implement generic Newlib syscalls 2015-12-16 19:50:49 +01:00
platform x86: Add TSS-based protection domain support 2016-04-22 08:16:39 -07:00
regression-tests Merge pull request #1297 from simonduq/pr/default-prefix 2016-03-13 20:39:16 +01:00
tools fix SerialSocketServer when run without GUI 2016-03-16 18:48:09 +01:00
.gitattributes Add binary files file extension 2015-10-22 16:19:39 +02:00
.gitignore Remove sensinode build artifacts from .gitignore 2016-01-10 15:08:55 +00:00
.gitmodules Align to current master 2015-09-04 17:01:04 +02:00
.travis.yml travis: Force AAPCS toolchain version 2016-02-07 18:21:57 +01:00
CONTRIBUTING.md Updated CONTRIBUTING.md to reflect Contiki's new merging policy 2015-08-18 22:06:56 +02:00
LICENSE Removed the explicit year 2012 to make it more generic 2012-10-25 23:08:54 +02:00
Makefile.include Makefile.include: Remove unused MODULESSUBST 2015-06-01 22:09:58 +02:00
README-BUILDING.md Rename to md 2013-03-26 23:15:37 +01:00
README-EXAMPLES.md Several minor consistency improvements. 2013-07-31 00:55:31 +02:00
README.md Travis icon in README.md: show build status of the current master rather than latest build status (can be any pull request) 2015-08-19 09:21:38 +02:00

The Contiki Operating System

Build Status

Contiki is an open source operating system that runs on tiny low-power microcontrollers and makes it possible to develop applications that make efficient use of the hardware while providing standardized low-power wireless communication for a range of hardware platforms.

Contiki is used in numerous commercial and non-commercial systems, such as city sound monitoring, street lights, networked electrical power meters, industrial monitoring, radiation monitoring, construction site monitoring, alarm systems, remote house monitoring, and so on.

For more information, see the Contiki website:

http://contiki-os.org