aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-12-11 15:44:16 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-12-11 15:44:16 +0000
commite023f0058dcb36075f3a51072593aeff334eff3c (patch)
treed0484b57493dc0dae439056adae615ff5369a5a8 /test
parent055fea386e4994a35b758b94f948f9de1c8ba091 (diff)
downloadChibiOS-e023f0058dcb36075f3a51072593aeff334eff3c.tar.gz
ChibiOS-e023f0058dcb36075f3a51072593aeff334eff3c.tar.bz2
ChibiOS-e023f0058dcb36075f3a51072593aeff334eff3c.zip
Incorporated main and idle threads data areas into the ch_system structure, moved around some definitions in order to allow this.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7572 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test')
-rw-r--r--test/rt/testbmk.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/rt/testbmk.c b/test/rt/testbmk.c
index 461dbc76b..4464b65f3 100644
--- a/test/rt/testbmk.c
+++ b/test/rt/testbmk.c
@@ -644,11 +644,7 @@ ROMCONST struct testcase testbmk12 = {
static void bmk13_execute(void) {
test_print("--- System: ");
- test_printn(sizeof(ready_list_t) + sizeof(virtual_timers_list_t) +
- PORT_IDLE_THREAD_STACK_SIZE +
- (sizeof(thread_t) + sizeof(struct port_intctx) +
- sizeof(struct port_extctx) +
- PORT_INT_REQUIRED_STACK) * 2);
+ test_printn(sizeof(ch_system_t));
test_println(" bytes");
test_print("--- Thread: ");
test_printn(sizeof(thread_t));