History log of /seL4-test-master/projects/sel4test/apps/sel4test-tests/src/tests/ioports.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


# 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


# 3d7586eb 19-May-2019 Yu Hou <Yu.Hou@data61.csiro.au>

sel4test: remove autoconf.h from sel4test

this commit removes autoconf.h generation from sel4test and
append '#include <sel4test/gen_config.h>' after each
'#include <autoconf.h>' since autoconf.h is only the for the
kernel config now. This is a temporarily solution, since we
currently don't have a way to tell which header files each file
is trying to include when it includes 'autoconf.h'


# 0c70af10 11-Apr-2018 Anna Lyons <Anna.Lyons@data61.csiro.au>

ioports.c: use api_tcb_set_space over configure

configure is excessive for changing the fault endpoint, and this failed
on the mcs kernel as it attempts to rebind the scheduling context.


# 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.


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

SELFOUR-1083 refactor tests because DEFINE_TEST_MAYBE was renamed to DEFINE_TEST


# 5c7a41d6 13-Sep-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

trivial: Fix error type

Passes test on x64


# 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.


# 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


# 02d0a978 08-Aug-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

Fix config guard on ioports test and unbitrot


# 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.


# e0eb8e3c 13-Jul-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Fix whitespace

- remove trailing whitespace
- remove double blank lines
- remove blank lines at end of file


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

Fix licenses


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

SELFOUR-114: use new fault API


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

Extend ioports test to work on 64bit as well


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

update for s/Wait/Recv


# 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.


# 523fcf64 24-Aug-2015 Adrian Danis <Adrian.Danis@nicta.com.au>

Add a regresion test that ensures user space cannot directly use IO ports