Commit Graph

2154 Commits (1dfe716b56850053583cc8c88b3d1eb7dccf0d31)

Author SHA1 Message Date
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