Eliminate VxMicro branding in sample projects
Eliminates references to the obsolete OS name. In most cases the name is simply removed, as it isn't necessary. Change-Id: I3796f2aebe802f8c6045b7424a3e7aab4d5fb8e8 Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
This commit is contained in:
parent
5b291d3567
commit
57de8be493
|
@ -3,7 +3,7 @@
|
|||
# Import common sanity check definitions
|
||||
#
|
||||
if [ -z ${TIMO_BASE} ]; then
|
||||
echo "shell variables required to build VxMicro are not set"
|
||||
echo "shell variables required to build Zephyr OS are not set"
|
||||
exit 1
|
||||
fi
|
||||
if [ ! -d ${TIMO_BASE} ] ; then
|
||||
|
|
|
@ -2,7 +2,7 @@ Title: Hello
|
|||
|
||||
Description:
|
||||
|
||||
A simple application that demonstates basic sanity of the VxMicro microkernel.
|
||||
A simple application that demonstates basic sanity of the microkernel.
|
||||
Two tasks (A and B) take turns printing a greeting message to the console,
|
||||
and use sleep requests and semaphores to control the rate at which messages
|
||||
are generated. This demonstrates that microkernel scheduling, communication,
|
||||
|
|
|
@ -2,9 +2,8 @@ Title: AppKernel
|
|||
|
||||
Description:
|
||||
|
||||
AppKernel is used to measure the performance of VxMicro. It performs benchmarks
|
||||
for sema, mutex, memmap, mempool, event, mailbox and pipe when used by
|
||||
tasks in microkernel.
|
||||
AppKernel is used to measure the performance of microkernel events, mutexes,
|
||||
semaphores, FIFOs, mailboxes, pipes, memory maps, and memory pools.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
@ -35,7 +34,7 @@ Sample Output:
|
|||
|-----------------------------------------------------------------------------|
|
||||
| S I M P L E S E R V I C E M E A S U R E M E N T S | nsec |
|
||||
|-----------------------------------------------------------------------------|
|
||||
| minimum VxMicro call time | NNNNN|
|
||||
| kernel service request overhead | NNNNN|
|
||||
|-----------------------------------------------------------------------------|
|
||||
| enqueue 1 byte msg in FIFO | NNNNNN|
|
||||
| dequeue 1 byte msg in FIFO | NNNNNN|
|
||||
|
|
|
@ -59,7 +59,7 @@ void call_test(void)
|
|||
et = TIME_STAMP_DELTA_GET(et);
|
||||
check_result();
|
||||
|
||||
PRINT_F(output_file, FORMAT, "minimum VxMicro call time",
|
||||
PRINT_F(output_file, FORMAT, "kernel service request overhead",
|
||||
SYS_CLOCK_HW_CYCLES_TO_NS_AVG(et, NR_OF_NOP_RUNS));
|
||||
}
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ Measure boot time for both nanokernel and microkernel project which includes
|
|||
#include <tc_util.h>
|
||||
|
||||
/* externs */
|
||||
extern uint64_t __start_tsc; /* timestamp when VxMicro begins executing */
|
||||
extern uint64_t __start_tsc; /* timestamp when kernel begins executing */
|
||||
extern uint64_t __main_tsc; /* timestamp when main() begins executing */
|
||||
extern uint64_t __idle_tsc; /* timestamp when CPU went idle */
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ Title: latency measure
|
|||
|
||||
Description:
|
||||
|
||||
This benchmark measures the latency of selected capabilities of both the VxMicro
|
||||
This benchmark measures the latency of selected capabilities of both the
|
||||
nanokernel and microkernel.
|
||||
|
||||
IMPORTANT: The sample output below was generated using a simulation
|
||||
|
@ -36,7 +36,7 @@ or
|
|||
Sample Output:
|
||||
|
||||
|-----------------------------------------------------------------------------|
|
||||
| VxMicro Nanokernel Latency Benchmark |
|
||||
| Nanokernel Latency Benchmark |
|
||||
|-----------------------------------------------------------------------------|
|
||||
| tcs = timer clock cycles: 1 tcs is N nsec |
|
||||
|-----------------------------------------------------------------------------|
|
||||
|
@ -60,7 +60,7 @@ Sample Output:
|
|||
| Average time for lock then unlock is NNN tcs = NNNN nsec |
|
||||
|-----------------------------------------------------------------------------|
|
||||
|-----------------------------------------------------------------------------|
|
||||
| VxMicro Microkernel Latency Benchmark |
|
||||
| Microkernel Latency Benchmark |
|
||||
|-----------------------------------------------------------------------------|
|
||||
| tcs = timer clock cycles: 1 tcs is N nsec |
|
||||
|-----------------------------------------------------------------------------|
|
||||
|
|
|
@ -79,13 +79,13 @@ static inline void printDashLine(void)
|
|||
|
||||
#define PRINT_NANO_BANNER() \
|
||||
printDashLine(); \
|
||||
PRINTF("| VxMicro Nanokernel Latency Benchmark "\
|
||||
PRINTF("| Nanokernel Latency Benchmark "\
|
||||
" |\n"); \
|
||||
printDashLine();
|
||||
|
||||
#define PRINT_MICRO_BANNER() \
|
||||
printDashLine(); \
|
||||
PRINTF("| VxMicro Microkernel Latency Benchmark "\
|
||||
PRINTF("| Microkernel Latency Benchmark "\
|
||||
" |\n"); \
|
||||
printDashLine();
|
||||
|
||||
|
@ -98,7 +98,7 @@ static inline void printDashLine(void)
|
|||
PRINT_FORMAT(" Error: tick occured")
|
||||
|
||||
#else
|
||||
#error PRINTK needs to be enabled in VxMicro configuration
|
||||
#error PRINTK configuration option needs to be enabled
|
||||
#endif
|
||||
|
||||
void raiseIntFunc(void);
|
||||
|
|
|
@ -3,7 +3,7 @@ Title: SysKernel
|
|||
Description:
|
||||
|
||||
The SysKernel test measures the performance of the sema, lifo, fifo and stack
|
||||
objects provided by the VxMicro nanokernel.
|
||||
objects provided by the nanokernel.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* events.c - test microkernel event APIs under VxMicro */
|
||||
/* events.c - test microkernel event APIs */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2012-2014 Wind River Systems, Inc.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* fifo.c - test microkernel FIFO APIs under VxMicro */
|
||||
/* fifo.c - test microkernel FIFO APIs */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2012-2014 Wind River Systems, Inc.
|
||||
|
|
|
@ -2,7 +2,7 @@ Title: kernel access to standard libraries
|
|||
|
||||
Description:
|
||||
|
||||
This test verifies kernel access to VxMicro's standard libraries.
|
||||
This test verifies kernel access to the standard C libraries.
|
||||
It is intended to catch issues in which a library is completely absent
|
||||
or non-functional, and is NOT intended to be a comprehensive test suite
|
||||
of all functionality provided by the libraries.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
% Application : test VxMicro standard libraries
|
||||
% Application : test standard libraries
|
||||
|
||||
% TASK NAME PRIO ENTRY STACK GROUPS
|
||||
% ===================================================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* libraries.c - test access to VxMicro standard libraries */
|
||||
/* libraries.c - test access to the minimal C libraries */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
||||
|
@ -32,8 +32,7 @@
|
|||
|
||||
/*
|
||||
DESCRIPTION
|
||||
This module verifies that the various standard libraries supported by VxMicro
|
||||
can be used.
|
||||
This module verifies that the various minimal C libraries can be used.
|
||||
|
||||
IMPORTANT: The module only ensures that each supported library is present,
|
||||
and that a bare minimum of its functionality is operating correctly. It does
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* main.c - test access to VxMicro standard libraries (kernel version) */
|
||||
/* main.c - test access to standard libraries */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
||||
|
@ -32,8 +32,8 @@
|
|||
|
||||
/*
|
||||
DESCRIPTION
|
||||
This module contains the entry points for the tasks used by the kernel version
|
||||
of the standard libraries test application.
|
||||
This module contains the entry points for the tasks used by the standard
|
||||
libraries test application.
|
||||
|
||||
Each test task entry point invokes a test routine that returns a success/failure
|
||||
indication, then gives a corresponding semaphore. An additional task monitors
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* map.c - test microkernel Map APIs under VxMicro */
|
||||
/* map.c - test microkernel memory map APIs */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2012-2014 Wind River Systems, Inc.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* mutex.c - test microkernel mutex APIs under VxMicro */
|
||||
/* mutex.c - test microkernel mutex APIs */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2012-2015 Wind River Systems, Inc.
|
||||
|
@ -32,7 +32,7 @@
|
|||
|
||||
/*
|
||||
DESCRIPTION
|
||||
This module demonstrates the priority inheritance algorithm used in VxMicro.
|
||||
This module demonstrates the microkernel's priority inheritance algorithm.
|
||||
A task that owns a mutex is promoted to the priority level of the
|
||||
highest-priority task attempting to lock the mutex.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* pipe.c - test microkernel target pipe APIs under VxMicro */
|
||||
/* pipe.c - test microkernel target pipe APIs */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2012-2014 Wind River Systems, Inc.
|
||||
|
@ -991,7 +991,7 @@ int AlternateTask(void)
|
|||
*
|
||||
* RegressionTask - main task in the test suite
|
||||
*
|
||||
* This is the entry point to the VxMicro target pipe test suite.
|
||||
* This is the entry point to the pipe test suite.
|
||||
*
|
||||
* RETURNS: TC_PASS or TC_FAIL
|
||||
*/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* pool.c - test microkernel memory pool APIs under VxMicro */
|
||||
/* pool.c - test microkernel memory pool APIs */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2012-2014 Wind River Systems, Inc.
|
||||
|
@ -455,7 +455,7 @@ void AlternateTask(void)
|
|||
*
|
||||
* RegressionTask - main task in the test suite
|
||||
*
|
||||
* This is the entry point to the VxMicro memory pool test suite.
|
||||
* This is the entry point to the memory pool test suite.
|
||||
*
|
||||
* RETURNS: N/A
|
||||
*/
|
||||
|
|
|
@ -559,9 +559,9 @@ int AlternateTask(void)
|
|||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* RegressionTask - entry point to VxMicro semaphore test suite
|
||||
* RegressionTask - entry point to semaphore test suite
|
||||
*
|
||||
* This is the entry point to the VxMicro semaphore test suite.
|
||||
* This is the entry point to the semaphore test suite.
|
||||
*
|
||||
* RETURNS: TC_PASS or TC_FAIL
|
||||
*/
|
||||
|
|
|
@ -212,7 +212,7 @@ int sprintfDoubleTest(void)
|
|||
/*******************/
|
||||
|
||||
/*
|
||||
* VxMicro does not support size modifiers such as L. As such, attempts to
|
||||
* Size modifiers such as L are not supported. As such, attempts to
|
||||
* print a long double will NOT result in intuitively expected output.
|
||||
* Until such time as they are supported (if ever) the output will remain
|
||||
* counter-intuitive. If they ever are supported then this test will have
|
||||
|
@ -265,9 +265,9 @@ int vsnprintfTest(void)
|
|||
char buffer[100];
|
||||
|
||||
/*
|
||||
* VxMicro may be handling the string size in a non-standard manner.
|
||||
* If a negative value is supplied for the string size, VxMicro converts
|
||||
* it to 0x7fffffff--maximum integer size. Since there is insufficient
|
||||
* The string size may be handled in a non-standard manner.
|
||||
* If a negative value is supplied for the string size, it is converted
|
||||
* to 0x7fffffff--maximum integer size. Since there is insufficient
|
||||
* memory to test a string of that length, we just check that the string
|
||||
* was fully written so that we can exercise the code path.
|
||||
*/
|
||||
|
@ -386,9 +386,9 @@ int snprintfTest(void)
|
|||
char buffer[100];
|
||||
|
||||
/*
|
||||
* VxMicro may be handling the string size in a non-standard manner.
|
||||
* If a negative value is supplied for the string size, VxMicro converts
|
||||
* it to 0x7fffffff--maximum integer size. Since there is insufficient
|
||||
* The string size may be handled in a non-standard manner.
|
||||
* If a negative value is supplied for the string size, it is converted
|
||||
* to 0x7fffffff--maximum integer size. Since there is insufficient
|
||||
* memory to test a string of that length, we just check that the string
|
||||
* was fully written so that we can exercise the code path.
|
||||
*/
|
||||
|
@ -529,7 +529,7 @@ int sprintfIntegerTest(void)
|
|||
|
||||
/*******************/
|
||||
|
||||
/* Note: VxMicro prints hex numbers in 8 characters */
|
||||
/* Note: prints hex numbers in 8 characters */
|
||||
len = sprintf(buffer, "%x", 0x11);
|
||||
if (len != 2) {
|
||||
TC_ERROR("sprintf(%%x). Expected 2 bytes written, not %d\n", len);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* stackprot.c - test Stack Protector feature using canary under VxMicro */
|
||||
/* stackprot.c - test Stack Protector feature using canary */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2012-2014 Wind River Systems, Inc.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* task.c - test microkernel task APIs under VxMicro */
|
||||
/* task.c - test microkernel task APIs */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2012-2014 Wind River Systems, Inc.
|
||||
|
|
|
@ -2,7 +2,7 @@ Title: Hello
|
|||
|
||||
Description:
|
||||
|
||||
A simple application that demonstrates basic sanity of the VxMicro nanokernel.
|
||||
A simple application that demonstrates basic sanity of the nanokernel.
|
||||
The background task and a fiber take turns printing a greeting message to the
|
||||
console, and use timers and semaphores to control the rate at which messages
|
||||
are generated. This demonstrates that nanokernel scheduling, communication,
|
||||
|
|
|
@ -2,8 +2,7 @@ Title: latency measure
|
|||
|
||||
Description:
|
||||
|
||||
This benchmark measures the latency of selected capabilities of VxMicro
|
||||
nanokernel features.
|
||||
This benchmark measures the latency of selected nanokernel features.
|
||||
|
||||
IMPORTANT: The results below were generated using a simulation environment,
|
||||
and may not reflect the results that will be generated using other
|
||||
|
@ -36,7 +35,7 @@ or
|
|||
Sample Output:
|
||||
|
||||
|-----------------------------------------------------------------------------|
|
||||
| VxMicro Nanokernel Latency Benchmark |
|
||||
| Nanokernel Latency Benchmark |
|
||||
|-----------------------------------------------------------------------------|
|
||||
| tcs = timer clock cycles: 1 tcs is N nsec |
|
||||
|-----------------------------------------------------------------------------|
|
||||
|
|
|
@ -2,8 +2,8 @@ Title: SysKernel
|
|||
|
||||
Description:
|
||||
|
||||
The SysKernel test measures the performance of the sema, lifo, fifo and stack
|
||||
objects provided by the VxMicro nanokernel.
|
||||
The SysKernel test measures the performance of the nanokernel's semaphore,
|
||||
lifo, fifo, and stack objects.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* context.c - test CPU and context APIs under VxMicro */
|
||||
/* context.c - test nanokernel CPU and context APIs */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2012-2014 Wind River Systems, Inc.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* fifo.c - test nanokernel FIFO APIs under VxMicro */
|
||||
/* fifo.c - test nanokernel FIFO APIs */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2012-2014 Wind River Systems, Inc.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* lifo.c - test LIFO APIs under VxMicro */
|
||||
/* lifo.c - test nanokernel LIFO APIs */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2012-2014 Wind River Systems, Inc.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* sema.c - test semaphore APIs under VxMicro */
|
||||
/* sema.c - test nanokernel semaphore APIs */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2012-2014 Wind River Systems, Inc.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* stack.c - test nanokernel STACK APIs under VxMicro */
|
||||
/* stack.c - test nanokernel stack APIs */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2012-2014 Wind River Systems, Inc.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* timer.c - test timer APIs under VxMicro */
|
||||
/* timer.c - test nanokernel timer APIs */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2012-2015 Wind River Systems, Inc.
|
||||
|
|
Loading…
Reference in a new issue