History log of /seL4-test-master/projects/sel4test/apps/sel4test-tests/src/tests/frames.c
Revision Date Author Comments
# 1349dd13 10-May-2020 Saer Debel <sdebel@data61.csiro.au>

asserts on seL4_Errors now use test_error_eq

changed test_asserts that check seL4_Errors
to use test_error_eq to output errors in failed cases
that would otherwise be suppressed in a
KernelInvocationReportErrorIPC build config


# 69a8f590 16-May-2017 Hesham Almatary <hesham.almatary@data61.csiro.au>

SELFOUR-161: Remove Remap and use Map instead

Update usages of Page_Remap to instead use Page_Map.


# d82aeecd 14-Aug-2019 Damon Lee <Damon.Lee@data61.csiro.au>

sel4test-tests: Disable device mem tests for spike

Spike does not have any device untypes exported to user level, so the
tests that require a device untyped are disabled.


# fab7913c 29-Jul-2019 Damon Lee <Damon.Lee@data61.csiro.au>

sel4test-tests: Fix frame tests

Previously, these tests relied on using initialised timer device frames
that were supposedly copied across from the driver. This wasn't the
case, so this commit fixes this behaviour by using the device frame that
is copied across.


# 7263e5a5 18-Jul-2019 Yu Hou <Yu.Hou@data61.csiro.au>

sel4test: explicitly link sel4_autoconf

since the global conf lib is going be removed, we need to explicitly
linke each project with sel4_autoconf and other config libs
this commit also removed a bunch of unused includes as well as
HAVE_AUTOCONF ifdef checking.


# 92fa60fe 12-Jul-2019 Yu Hou <Yu.Hou@data61.csiro.au>

Trivial: style fix

make the style checker happy


# 548d9c4d 15-Jul-2018 Anna Lyons <Anna.Lyons@data61.csiro.au>

MCS: use unique reply objects for each thread

Using the same reply object for recv does not work: multiple threads
cannot use the same reply object to block at the same time. This was
working by luck / concurrency before, but now the kernel actually
checks this condition.


# 3b610200 03-Apr-2018 Anna Lyons <Anna.Lyons@data61.csiro.au>

SELFOUR-1277: undo s/Remap/Map in FRAMEEXPORT test.

This is no longer needed for riscv now that Remap is implemented.


# efe7c37c 26-Apr-2017 Hesham Almatary <hesham.almatary@data61.csiro.au>

RISCV port


# 08bb70bd 28-Feb-2018 Anna Lyons <Anna.Lyons@data61.csiro.au>

Use seL4_TCB_SetTimeoutEndpoint

- remote timeout endpoint from api_tcb_set_space calls
- update helper for setting timeout endpoint


# 3dc85f42 25-Feb-2018 Anna Lyons <Anna.Lyons@data61.csiro.au>

Remove deleted seL4_PrioProps from frames.c


# 3cf7ce83 22-Jan-2018 Anna Lyons <Anna.Lyons@data61.csiro.au>

SELFOUR-1016: Update for TCB api change


# a8854281 04-Oct-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

Changes for removal of seL4_CapData_t type in libsel4

This updates sel4test to not use what are now deprecated functions and types by following
the upgrade notes in the kernel CHANGES file.


# 46b5e337 06-Oct-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

Improve performance of frameexport test

Testing every single byte of every single mapping is extremely time consuming on systems
with a large amount of memory, and is also completely unnecessary


# d07b2383 27-Sep-2017 Claudia Tu <claudia.tu@unsw.edu.au>

SELFOUR-1130 Refactor tests to use new DEFINE_TEST

These changes turn tests on and off with the new `enabled` argument in
DEFINE_TEST instead of using #ifdefs.


# d3fcdadd 26-Sep-2017 Claudia Tu <claudia.tu@unsw.edu.au>

SELFOUR-1083 refactor tests because DEFINE_TEST_MAYBE was renamed to DEFINE_TEST


# 08c18e7a 22-Sep-2017 Claudia Tu <claudia.tu@unsw.edu.au>

SELFOUR-894 run config-controlled tests with DEFINE_TEST_MAYBE


# 057f0e33 13-Sep-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

tests: correct usage of macros

s/test_assert_fatal/test_assert: none of these tests should require the
test suite to abort in their current state as they are running in a
different process.

Fix cases where test_assert would return a value from a void function as
appropriate.


# 5030ecb6 30-Aug-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

Add test for ensuring deleting frame cap performs an unmap

As part of this change a fault helper function from the XN tests are moved into the
common source, instead of being behind an ifdef, so this new test can use it.


# bea86179 22-Aug-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

MCS: use api_* wrappers for recv operations

- on the MCS kernel, recv operations that will use call / replyrecv
semantics require a reply object, provide the reply object when needed
if CONFIG_KERNEL_RT is enabled. If not, it will always be seL4_CapNull
and is not used.
- use the api_recv etc wrappers from sel4utils/api.h


# ef7e2a8c 22-Aug-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

MCS: use tcb wrappers from sel4tutils/api.h

- replace calls of seL4_TCB_SetSpace with api_tcb_set_space
- replace calls of seL4_TCB_Configure with api_tcb_configure
- update some calls from seL4_TCB_Configure to api_tcb_set_space as a
full TCB configure is not required in that specific case


# 9e21db58 22-Aug-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Use seL4_Wait instead of seL4_Recv where possible

On the master kernel seL4_Wait just calls seL4_Recv and does not return
a message tag. On the mcs kernel, seL4_Wait is a first class system call which
waits on an object without requiring a reply object, but does return a
message tag. Therefore seL4_Wait can be
used equivalently on both branches as long as the tag is not required.

This change replaces calls to seL4_Recv where the return value is
ignored with seL4_Wait.


# 1b2772ef 08-Aug-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

Provide and use wrappers for getting helper thread information

Reaching directly into the helper thread struct makes it difficult to change how helper threads
work without breaking lots of code.


# bb173222 20-Jul-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Use ltimer interface in sel4test

- remove all plat specific timer code
- new timers don't need any code added to sel4test!
- also remove plat_copy_serial caps as it is empty for all cases


# 06b71f00 09-Jul-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Add env argument to helper_set_priority, mcp

- it will be needed in future when SELFOUR-1016 is merged
- merge it now to avoid the conflicts inherent on a long running branch


# 27688e95 06-Jul-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

trivial: fix warning


# b5ac337a 04-Jun-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Fix licenses


# 26d9993b 19-Apr-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

More robust test that frames are mapped and remapped correctly


# 0ebd6629 19-Apr-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

Ensure we test each differently sized frame at least once


# 272e30b5 05-Feb-2017 amrzar <azarrabi@nicta.com.au>

aarch64: update related tests


# 81eecb58 18-Jul-2016 Anna Lyons <Anna.Lyons@nicta.com.au>

SELFOUR-114: use new fault API


# bfb8879c 17-Nov-2016 Anna Lyons <Anna.Lyons@data61.csiro.au>

SELFOUR-192: remove recycle, add cancelSends


# f91a072d 03-Nov-2016 Adrian Danis <Adrian.Danis@data61.csiro.au>

SELFOUR-527: Unify instruction cache for self modifying code


# 2ba11d08 05-Oct-2016 Anna Lyons <Anna.Lyons@data61.csiro.au>

sel4test-tests: init timer if CONFIG_HAVE_TIMER=y

This avoids timer initialisation failures on simulators.
We don't run the timer tests on simulators anyway due to
inaccuarcy of interrupt delivery.

A better solution would be to fall back on different timer
implementations (the current failure is that on x86 our hpet
driver relies on fsb delivery which qemu does not support).


# 35944e1e 05-Oct-2016 Anna Lyons <Anna.Lyons@data61.csiro.au>

User device untyped and s/PIT/HPET for x86

This commit changes the way sel4test-driver passes
device memory to sel4test-tests: instead of copying the frame
caps it copies untypeds, to be compataible with how seL4_libs
has changed after device untyped. sel4test-tests now gives
the relevant untyped to its allocator so seL4_libs can
initialise the relevant devices.

Additionally, this commit changes to use the HPET and IOAPIC
instead of the legacy PIT/PIC on x86, allowing us much greater
timer accuracy in tests and faster tests in general.


# 92286f31 29-Sep-2016 Matthew Brecknell <Matthew.Brecknell@data61.csiro.au>

SELFOUR-276: add maximum controlled priority (MCP)


# 2f611062 08-Jun-2016 Anna Lyons <Anna.Lyons@nicta.com.au>

SELFOUR-276: add support for MCPs

Where MCP = Maximum controlled priority.

This commit:

* updates the arguments to seL4_TCB_Configure
* updates the set_priority tests to test MCPs
* adds set_helper_mcp to helpers.h


# 7a6d6ca8 03-Feb-2016 Adrian Danis <Adrian.Danis@nicta.com.au>

SELFOUR-421 Tests for using a device frame as an IPC buffer

The kernel should not permit using a device frame as an IPC buffer.
This change introduces two tests to check for that


# 11f06d74 31-May-2016 Anna Lyons <Anna.Lyons@nicta.com.au>

Remove references to experimental branch (stable)


# 65cdb3db 22-Mar-2016 Adrian Danis <Adrian.Danis@nicta.com.au>

Test XN kernel feature

The XN tests were #ifdef'ed out in such a way that it was never being
run. This commit enables them and unbitrots them.


# d5ed070f 29-Nov-2015 Adrian Danis <Adrian.Danis@nicta.com.au>

Support x64 tests

This fixes various tests that were not compatible with x64. The real
changes are to tests that create/map/recycle frames and these have
been rewritten to be clearer and support both 32 and 64bit.

Other tests have minor changes for type compatibility and reserving
additional amounts of memory needed for the changes.


# 81f2a1d1 19-Nov-2015 Anna Lyons <Anna.Lyons@nicta.com.au>

update for s/Wait/Recv


# 948de421 18-Nov-2015 Matthew Fernandez <matthew.fernandez@nicta.com.au>

Avoid shadowing variables.

This change has no effect on functionality, but helps poor users such as myself
who switch on -Wshadow, only to be buffeted with spurious warnings.


# 6ae70227 16-Nov-2015 Matthew Fernandez <matthew.fernandez@nicta.com.au>

Remove 'args' parameter to test cases.

This commit removes the state parameter to test cases, which was unused in all
tests. In three years, no test has required this parameter. I think it's time
to ditch this dead weight. It can be reintroduced if necessary later.

Note that this change is interdependent with changes to libsel4test.


# 8c054da4 12-Nov-2015 Anna Lyons <Anna.Lyons@nicta.com.au>

bandaid to get sel4test to output the correct number of tests passing


# eee0de78 22-Feb-2015 Adrian Danis <Adrian.Danis@nicta.com.au>

Test that cache operations can be performed on all page sizes


# b8730538 21-Jan-2015 Adrian Danis <Adrian.Danis@nicta.com.au>

Do not assume large frames on x86 are 4M


# a2928cf4 21-Jan-2015 Adrian Danis <Adrian.Danis@nicta.com.au>

Test if mapped frames can be remapped


# eb6037e4 11-Sep-2014 Adrian Danis <Adrian.Danis@nicta.com.au>

Fixes for vspace API change


# 7f1809de 21-Jul-2014 TrustworthySystems <gatekeeper@sel4.systems>

Release snapshot