From e2d292afdb43cd7d9391128563384e1edd53c52e Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Wed, 2 Feb 2011 14:56:18 -0800 Subject: Moving the hooks into the os directory, where they belong. --- os/Makefile | 1 + os/src/hooks.c | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 os/src/hooks.c (limited to 'os') diff --git a/os/Makefile b/os/Makefile index d7d0419..37dbf56 100644 --- a/os/Makefile +++ b/os/Makefile @@ -9,6 +9,7 @@ include $(ROOTDIR)/arch/config.mk TARGET_SRCS = \ src/init.c \ +src/hooks.c \ \ src/filesystem.c \ src/fio.c \ diff --git a/os/src/hooks.c b/os/src/hooks.c new file mode 100644 index 0000000..2e18577 --- /dev/null +++ b/os/src/hooks.c @@ -0,0 +1,18 @@ +#include +#include +#include "osdebug.h" + +void vConfigureTimerForRunTimeStats() { + DBGOUT("vConfigureTimerForRunTimeStats()\r\n"); +} + +void vApplicationTickHook() { +// DBGOUT("vApplicationTickHook()\r\n"); +} + +void vApplicationStackOverflowHook(xTaskHandle *pxTask, signed portCHAR *pcTaskName) { + DBGOUT("vApplicationStackOverflowHook(%p, %s)\r\n", pxTask, pcTaskName); +} + +void vApplicationIdleHook() { +} -- cgit v1.2.3