Commit graph

11867 commits

Author SHA1 Message Date
thomas-ha fb6e6d9ea3 macros for MAC timer 2016-03-22 18:51:05 +01:00
Michael LeMay 3908253038 x86: Add support for (paging-based) protection domains
This patch implements a simple, lightweight form of protection domains
using a pluggable framework.  Currently, the following plugin is
available:

 - Flat memory model with paging.

The overall goal of a protection domain implementation within this
framework is to define a set of resources that should be accessible to
each protection domain and to prevent that protection domain from
accessing other resources.  The details of each implementation of
protection domains may differ substantially, but they should all be
guided by the principle of least privilege.  However, that idealized
principle is balanced against the practical objectives of limiting the
number of relatively time-consuming context switches and minimizing
changes to existing code.

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

This patch also causes the C compiler to be used as the default linker
and assembler.
2016-03-21 17:18:06 -07:00
Michael LeMay b0de416682 x86: Adjust UEFI header size
The UEFI GenFw program inserts headers ahead of the code in the UEFI
binary.  The linker script adjusts the starting address of the .text
section to account for that.  This prevents the symbols from being
perturbed.  This patch accounts for a recent change in the size of the
headers added by the GenFw program.
2016-03-21 17:18:06 -07:00
Nicolas Tsiftes 40f81a98c3 Merge pull request #1481 from mdlemay/galileo-imr
galileo: Isolated Memory Region support
2016-03-21 17:35:03 +01:00
George Oikonomou de2ecf8e3a Document that LaunchPads can be programmed with cc2538-bsl 2016-03-21 00:00:38 +00:00
Michael LeMay 93126b57bb x86, galileo: Use IMRs to restrict DMA
This patch configures Isolated Memory Regions (IMRs) to block DMA to
code and data regions that do not contain any data that needs to be
DMA-accessible.
2016-03-17 08:35:49 -07:00
Michael LeMay e0d124c7c5 galileo: Add example to print out IMR information
This patch adds an example program to print out information about the
configuration of the Intel Quark X1000 SoC Isolated Memory Regions
(IMRs), the Host System Management Mode Controls register, and the
Host Memory I/O Boundary register.
2016-03-17 08:35:49 -07:00
Michael LeMay 58a00b7c23 x86, galileo: Add driver for Isolated Memory Regions (IMRs)
The Intel Quark X1000 SoC includes support for Isolated Memory Regions
(IMRs), which are specified using range registers and associated
control registers that are accessible via the message bus.  This patch
adds a driver for accessing those registers.
2016-03-17 08:35:49 -07:00
Michael LeMay 25c07613c2 x86: Add driver for message bus
The Intel Quark X1000 SoC includes a message bus that is accessible
via PCI configuration registers.  It communicates to various SoC
components such as the Isolated Memory Region (IMR) registers and the
Remote Management Unit.  This patch adds a driver for accessing the
message bus.
2016-03-17 08:35:48 -07:00
Fredrik Österlind f9a30236c8 Merge pull request #1557 from sieben/patch-1
fix SerialSocketServer when run without GUI
2016-03-17 10:00:35 +01:00
Rémy Léone 60acf7de98 fix SerialSocketServer when run without GUI 2016-03-16 18:48:09 +01:00
thomas-ha 66a0bbcd24 renaming variables back to their original name 2016-03-16 16:38:04 +01:00
thomas-ha 2d9b53667f not leaving promiscuous mode anymore if TSCH_HW_FRAME_FILTERING disabled 2016-03-16 12:24:49 +01:00
Simon Duquennoy 3057cb3363 TSCH: reset now also flushes all queues and resets backoff exponents 2016-03-15 16:24:04 +01:00
Simon Duquennoy 4b4ea36e9b TSCH: substract RADIO_DELAY_BEFORE_DETECT from ACK timestamp (more accurate timeout for the following busy wait) 2016-03-15 16:23:57 +01:00
Simon Duquennoy 0fd097f821 TSCH: bound max packet size to the system's packetbuf size 2016-03-15 16:23:57 +01:00
Simon Duquennoy 0aa36eaa0a TSCH: explicitly turn radio off after ACK tx 2016-03-15 16:23:57 +01:00
Simon Duquennoy 8f9ff51333 Merge pull request #1555 from simonduq/pr/doxygen-warning
Fix doxygen warning
2016-03-15 16:13:37 +01:00
Simon Duquennoy 072e416d4a Fix doxygen warning 2016-03-15 10:25:05 +01:00
Nicolas Tsiftes 9ab327090c Merge pull request #1444 from mdlemay/galileo-always-init-gpio
galileo: Enable I2C and GPIO interrupt sharing and centralize their initialization
2016-03-14 20:09:40 +01:00
Nicolas Tsiftes 862e43d9b0 Merge pull request #1523 from Zolertia/pull/z1-apify-sensors
Adapt Z1 on-board sensors to Contiki's API
2016-03-14 17:10:46 +01:00
Simon Duquennoy 5e5904d10e Merge pull request #1387 from simonduq/pr/ndfree-rpl-fix
NDP disabled: also disable uip_ds6_neighbor_periodic
2016-03-14 16:42:45 +01:00
Simon Duquennoy 1ffbafeaa6 Merge pull request #1375 from myrfy001/myrfy001-patch-1
off_t changed to signed to stay the same as POSIX
2016-03-14 16:42:13 +01:00
Simon Duquennoy bbefd4ab4e Merge pull request #1334 from tadodotcom/1333-resolv-fat-camp
trims resolv.c by removing unrequired static declarations
2016-03-14 16:41:33 +01:00
Nicolas Tsiftes 364afcf204 Merge pull request #1553 from simonduq/pr/leftover-aaaa
Fix a number of leftover mentions of aaaa as a prefix (now fd00)
2016-03-14 15:40:14 +01:00
Simon Duquennoy 88a0db6aee Add missing includes 2016-03-14 14:52:59 +01:00
Simon Duquennoy 4bf868fd99 Fix a number of leftover mentions of aaaa as a prefix (now fd00) 2016-03-14 13:56:00 +01:00
Simon Duquennoy cd981b23d5 Merge pull request #1297 from simonduq/pr/default-prefix
Change the default IPv6 prefix from aaaa::/64 to fd00::/64
2016-03-13 20:39:16 +01:00
Simon Duquennoy a15be9e518 Merge pull request #1438 from jkent/jsonparse
jsonparse: multiple improvements
2016-03-11 14:23:17 +01:00
Nicolas Tsiftes c476194004 Merge pull request #1548 from simonduq/pr/traceroute
uip6, icmp6 and ext header handling fixes: traceroute now working!
2016-03-11 14:14:26 +01:00
thomas-ha 400a09e82c comment 2016-03-11 11:05:04 +01:00
thomas-ha 45c7477650 original node.c 2016-03-11 11:02:43 +01:00
thomas-ha 57a47bb12f node_id on cc2538dk 2016-03-10 18:36:47 +01:00
thomas-ha 217e623337 remove unused variables 2016-03-10 18:09:00 +01:00
Simon Duquennoy 3fa25eac8c uip6: fix bug that caused the payload of ICMPv6 messages not to match that of the original packet 2016-03-10 12:22:23 +01:00
Simon Duquennoy 06e984a02e uip6: enable sending of "port unreachable" ICMPv6 message 2016-03-10 12:22:15 +01:00
Simon Duquennoy 5886bdea31 uip_icmp6_error_output: remove and add RPL ext header instead of inverting it, so that the payload of the returned ICMP error matches the original packet 2016-03-10 12:22:05 +01:00
Simon Duquennoy 9930756d7c uip6: restore proto after calling remove_ext_hdr 2016-03-10 12:21:55 +01:00
Simon Duquennoy add5a8be67 Code style 2016-03-10 11:33:40 +01:00
Simon Duquennoy f5ea8e613e Merge pull request #1547 from yatch/pr-fix-typos-in-prints
RPL: fix typos in debug messages
2016-03-09 13:24:52 +01:00
Yasuyuki Tanaka f83e498978 Fix typos in debug messages 2016-03-09 11:32:24 +01:00
Robert Olsson 39094e3c41 CO2 sensor bug fix 2016-03-08 20:04:01 +01:00
thomas-ha 1b185392e4 make cc2538_sfd_rtime volatile 2016-03-08 16:17:40 +01:00
thomas-ha a4ccce8dac enable 32 kHz crystal oscillator for TSCH 2016-03-08 15:54:03 +01:00
thomas-ha 0e0dba932f disable TSCH HW frame filtering 2016-03-08 15:52:40 +01:00
thomas-ha 38348b8703 enable/disable HW frame filtering
enable/disable HW frame filtering as defined in TSCH_CONF_HW_FRAME_FILTERING
2016-03-08 15:50:37 +01:00
thomas-ha 6e5e1d05cd TSCH: define to enable/disable HW frame filtering 2016-03-08 15:48:16 +01:00
Simon Duquennoy 8e120748d3 Merge pull request #1543 from simonduq/pr/tsch-security-save-space
TSCH-Security regression test: save space
2016-03-07 20:25:54 +01:00
thomas-ha 9ac14d1c7b defines needed for TSCH 2016-03-07 18:39:13 +01:00
thomas-ha b32ad0dbbd define for SFD timestamp on cc2538 2016-03-07 18:37:03 +01:00