Commit Graph

25 Commits (fe8bd7df2ef47e31acf9a0a19506fc154d08e0ca)

Author SHA1 Message Date
Milosch Meriac 9cb6d6099e Update uVisor page allocator 2016-08-26 17:18:45 +01:00
Alessandro Angelino 1cca020ec6 uVisor: Minor fix in the README 2016-08-24 09:51:21 +01:00
Alessandro Angelino 2cbccba2e7 uVisor: Update to v0.20.1-alpha 2016-08-24 09:51:00 +01:00
Alessandro Angelino 69101b84d4 uVisor: Update the RPC header files
This follows:

ARMmbed/uvisor#02ecf05 - "Remove unused TFN_RPC_Callback"
ARMmbed/uvisor#483ddda - "rpc: Add `rpc_fncall_wait`"
ARMmbed/uvisor#fdb7dce - "rpc: Add missing UVISOR_EXTERN to
                          rpc_fncall_waitfor declaration"
2016-08-08 12:43:23 +01:00
Alessandro Angelino 2f2fbc49a5 uVisor: Update README
Note: The README is auto-generated by the importer script, which copies
the QUICKSTART.md guide from ARMmbed/uvisor.
2016-08-08 12:39:47 +01:00
Alessandro Angelino bb12868ce5 uVisor: Update to v0.20.0-alpha
This release brings the support of Keil RTX with uVisor on mbed OS, plus
several other improvements.

**New features**

* Integration in Keil RTX in mbed OS.
* Secure dynamic allocation APIs.
* Box initialization routines.
* Register gateway.
* vMPU recovery generalized for both Kinetis and ARMv7-M MPUs.
* APIs for per-box interrupts disablement and re-enablement.

**Work in progress**

* Remote Procedure Call (RPC). New API signatures have been published.
* The alpha-level implementation will follow soon.

**Deprecated features**

* Secure gateway. Cross-box communication will be implemented with RPC
* gateways.

**Bugfixes**

* Several ARMv7-M-specific bug fixes.
* Fixed a bug that sent the device into lock-up after a hard fault.
* Fixed checks on revision numbers for Cortex-M devices.

**Miscellaneous improvements**

* Optimized memory protection for ARMv7-M devices with shared SRAM.
* Build artifacts are grouped into the target/build
* option/configuration-specific folder.
* Documents have been grouped into API vs. core documents.
* Improved style and consistency.
2016-07-22 15:54:47 +00:00
Alessandro Angelino 99ea8a3649 uVisor: Add RPC API header files 2016-07-22 15:54:19 +00:00
Alessandro Angelino a5d2127e0c uVisor importer: Update the path of QUICKSTART.md 2016-07-22 15:51:42 +00:00
Alessandro Angelino e6effc2540 uVisor importer: Point to the master branch 2016-07-22 15:50:48 +00:00
Alessandro Angelino 5b488f345f uVisor: Add a quick-start guide to use uVisor in mbed OS 2016-07-06 14:54:43 +01:00
Alessandro Angelino 238fc2787a uVisor importer script: Add command to copy the docs 2016-07-06 14:54:42 +01:00
Alessandro Angelino c4b08cf830 uVisor: Update the release libraries
Changelog:

* No feature changed.
* The libraries have been built using the ARMmbed/uvisor@dev branch
2016-07-06 14:54:42 +01:00
Alessandro Angelino acb6e08e28 uVisor importer script: Point to the dev branch 2016-07-06 14:54:31 +01:00
Alessandro Angelino 0392b7dea8 uVisor: Fix K64F vMPU bug in release mode
This commit updates the uVisor libraries following the following fix:

* ARMmbed/uvisor@767e794 "K64F vMPU: Use the MPU fault address"

The bug made some release builds of the uVisor example halt because of
an imprecise bus fault not correctly handled by uVisor internally.

The change only affects targets where `FEATURE_UVISOR` and
`UVISOR_SUPPORTED` are defined.
2016-07-01 13:16:38 +01:00
Milosch Meriac 7e006c769e Update uVisor page allocator and box initialization 2016-06-28 16:49:02 +00:00
Niklas Hauser 2a7f02033d Copy page_allocator_config.h file in importer 2016-06-28 16:49:00 +00:00
Milosch Meriac 3fdb44c586 Re-import uVisor library 2016-06-16 17:46:24 +00:00
Alessandro Angelino 88382007aa Add configuration file for when FEATURE_UVISOR is set
The configuration file at the moment only contains the CMSIS NVIC
virtualization macros. When FEATURE_UVISOR is set, we turn on CMSIS NVIC
virtualization automatically.

This removes the need for users to specify the macros themselves.

If UVISOR_SUPPORTED is set as well, the NVIC macros are turned into vIRQ
ones, otherwise they stay NVIC as usual, thanks to the fallback
implementation provided by `unsupported.h`.
2016-06-16 17:46:23 +00:00
Milosch Meriac 6fcf168bd1 Import box initialization code from uvisor repository 2016-06-16 17:38:53 +00:00
Milosch Meriac 3e56d7d941 Temporarily switch to unstable branch 2016-06-16 17:38:53 +00:00
Milosch Meriac fd6944f6e1 Re-import uVisor library 2016-06-14 14:10:00 +00:00
Milosch Meriac 08ba670c7b Add initial uvisor release library 2016-06-10 17:01:29 +01:00
Alessandro Angelino 47025b81d2 uVisor: Define UVISOR_PRESENT based on target labels
Now there is no need any more to specify the UVISOR_PRESENT symbol from
the mbed command line tools. By using a target that has UVISOR_SUPPORTED
has a label, the uVisor-internal UVISOR_PRESENT symbol will be set
automatically.
2016-06-10 16:56:17 +01:00
Jaeden Amero 55f464da27 Copy memory management code over from uVisor
Add the memory management code from uVisor to a shared location that is
suitable for both supported and unsupported use. To do this, we copy all
the RTX-specific files from the RTX folders in uVisor.

Note that the page allocator code is so identical between uVisor supported
and unsupported mode that we can copy the file as-is from uVisor for use on
unsupported targets. This commit performs that copying, to a file called
page_allocator.c_inc, which is included from unsupported_page_allocator.c
only for targets where uVisor is not present.
2016-06-10 16:56:16 +01:00
Milosch Meriac 10d9c2fa97 Add updated uVisor importer script 2016-06-10 16:56:16 +01:00