From d88897bf4d4a5d5436277814d76f0991ecbf4489 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 30 Aug 2009 17:21:10 +0000 Subject: Updated the coverage tool. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1145 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- test/coverage/chcore.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'test/coverage/chcore.c') diff --git a/test/coverage/chcore.c b/test/coverage/chcore.c index cdc87ceb5..b5191aa6c 100644 --- a/test/coverage/chcore.c +++ b/test/coverage/chcore.c @@ -20,23 +20,17 @@ #include #include -#undef CDECL - /** * @addtogroup WIN32SIM_CORE * @{ */ #include +#include static LARGE_INTEGER nextcnt; static LARGE_INTEGER slice; -void init_simcom1(void); -bool_t com1_conn_chkint(void); -bool_t com1_in_chkint(void); -bool_t com1_out_chkint(void); - /* * Simulated HW initialization. */ @@ -53,7 +47,7 @@ void InitCore(void) { QueryPerformanceCounter(&nextcnt); nextcnt.QuadPart += slice.QuadPart; - init_simcom1(); + sdInit(); fflush(stdout); } @@ -65,7 +59,7 @@ void ChkIntSources(void) { LARGE_INTEGER n; bool_t rflag = FALSE; - if (com1_conn_chkint() || com1_in_chkint() || com1_out_chkint()) { + if (sd_lld_interrupt_pending()) { if (chSchRescRequiredI()) rflag = TRUE; } -- cgit v1.2.3