osd-contiki/platform
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
..
apple2enh Adjusted segment names to match recent cc65 change. 2016-03-06 21:11:18 +01:00
atarixl Made 80 column display a cc65 application attribute. 2015-10-30 12:42:58 +01:00
avr-atmega128rfa1 Change the default IPv6 prefix from aaaa::/64 to fd00::/64 2016-03-07 17:47:44 +01:00
avr-raven Change the default IPv6 prefix from aaaa::/64 to fd00::/64 2016-03-07 17:47:44 +01:00
avr-ravenlcd Merge pull request #756 from sieben/dos2unix 2015-10-18 20:26:07 +02:00
avr-ravenusb Change the default IPv6 prefix from aaaa::/64 to fd00::/64 2016-03-07 17:47:44 +01:00
avr-rcb AVR platforms: use 32 bit clock_time_t. 2015-11-28 10:18:22 +01:00
avr-zigbit AVR platforms: use 32 bit clock_time_t. 2015-11-28 10:18:22 +01:00
c64 Adjusted segment names to match recent cc65 change. 2016-03-06 21:11:18 +01:00
c128 Adjusted segment names to match recent cc65 change. 2016-03-06 21:11:18 +01:00
cc2530dk Change the default IPv6 prefix from aaaa::/64 to fd00::/64 2016-03-07 17:47:44 +01:00
cc2538dk Change the default IPv6 prefix from aaaa::/64 to fd00::/64 2016-03-07 17:47:44 +01:00
cooja Change the default IPv6 prefix from aaaa::/64 to fd00::/64 2016-03-07 17:47:44 +01:00
cooja-ip64 Change the default IPv6 prefix from aaaa::/64 to fd00::/64 2016-03-07 17:47:44 +01:00
econotag Added ECC functions on elliptic curve secp256r1 2015-09-24 14:11:20 +02:00
ev-aducrf101mkxz Change the default IPv6 prefix from aaaa::/64 to fd00::/64 2016-03-07 17:47:44 +01:00
eval-adf7xxxmb4z Change the default IPv6 prefix from aaaa::/64 to fd00::/64 2016-03-07 17:47:44 +01:00
exp5438 Change the default IPv6 prefix from aaaa::/64 to fd00::/64 2016-03-07 17:47:44 +01:00
galileo x86: Add TSS-based protection domain support 2016-04-22 08:16:39 -07:00
jn516x Change the default IPv6 prefix from aaaa::/64 to fd00::/64 2016-03-07 17:47:44 +01:00
mbxxx Change the default IPv6 prefix from aaaa::/64 to fd00::/64 2016-03-07 17:47:44 +01:00
micaz Change the default IPv6 prefix from aaaa::/64 to fd00::/64 2016-03-07 17:47:44 +01:00
minimal-net Change the default IPv6 prefix from aaaa::/64 to fd00::/64 2016-03-07 17:47:44 +01:00
native Merge pull request #1293 from simonduq/pr/fix-warnings 2015-11-10 08:49:11 +01:00
seedeye Use ENERGEST_SWITCH to switch between different power modes to improve energest accuracy. 2015-09-04 11:46:00 +02:00
sky Merge pull request #1375 from myrfy001/myrfy001-patch-1 2016-03-14 16:42:13 +01:00
srf06-cc26xx Merge pull request #1453 from g-oikonomou/contrib/test-with-arm-gcc-5 2016-01-25 21:32:28 +01:00
stm32nucleo-spirit1 Added contacts for stm32nucleo-spirit1 platform. 2015-11-25 12:56:42 +01:00
stm32test Network layer configuration: replace UIP_CONF_* with NETSTACK_CONF_WITH_* 2014-12-01 21:02:57 +01:00
win32 Removed CC_FASTCALL. 2015-11-01 18:10:17 +01:00
wismote Change the default IPv6 prefix from aaaa::/64 to fd00::/64 2016-03-07 17:47:44 +01:00
z1 Merge pull request #1523 from Zolertia/pull/z1-apify-sensors 2016-03-14 17:10:46 +01:00
zoul Change the default IPv6 prefix from aaaa::/64 to fd00::/64 2016-03-07 17:47:44 +01:00