Limit exposure of non-public microkernel "no-op" API
Hides the existence of _task_nop() from everyone but the microkernel's no-op subsystem itself. (This change forces the sample benchmark project that measures no-op performance to explicitly declare this API itself.) Change-Id: I0cb2ec32d1c56b10743d5b2e727de2d5a99c95ea Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
This commit is contained in:
parent
56f93e3a21
commit
678a2a90bd
2 changed files with 4 additions and 2 deletions
|
@ -63,8 +63,6 @@ extern "C" {
|
|||
#define MON_EVENT 8
|
||||
#define MON_ALL 15
|
||||
|
||||
extern void _task_nop(void);
|
||||
|
||||
extern int task_offload_to_fiber(int (*)(), void *);
|
||||
|
||||
/* The following two typedefs are used in kernel_main.c */
|
||||
|
|
|
@ -34,6 +34,10 @@
|
|||
|
||||
#ifdef MICROKERNEL_CALL_BENCH
|
||||
|
||||
/* utilize non-public microkernel API for test purposes */
|
||||
|
||||
extern void _task_nop(void);
|
||||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* call_test - Kernel entry timing test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue