RTEMS 6.1-rc1
Modules | Files | Macros | Functions | Variables
spec:/testsuites/validation-io-kernel

This validation test suite contains test cases which test the kernel character input/output device provided by the BSP before the system initialization is performed. More...

Modules

 spec:/rtems/io/val/kernel
 Tests the functions referenced by BSP_output_char and BSP_poll_char.
 

Files

file  ts-validation-io-kernel.c
 

Macros

#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
 
#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS   0
 
#define CONFIGURE_DISABLE_NEWLIB_REENTRANCY
 
#define CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
 
#define CONFIGURE_SCHEDULER_USER
 
#define CONFIGURE_SCHEDULER
 
#define CONFIGURE_SCHEDULER_TABLE_ENTRIES   { }
 
#define CONFIGURE_IDLE_TASK_STORAGE_SIZE   RTEMS_MINIMUM_STACK_SIZE
 
#define CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION
 
#define CONFIGURE_IDLE_TASK_BODY   IdleBody
 
#define CONFIGURE_INIT
 

Functions

void boot_card (const char *cmdline)
 Standard system initialization procedure. More...
 

Variables

const char rtems_test_name [] = "TestsuitesValidationIoKernel"
 Each test must define a test name string.
 

Detailed Description

This validation test suite contains test cases which test the kernel character input/output device provided by the BSP before the system initialization is performed.

Function Documentation

◆ boot_card()

void boot_card ( const char *  cmdline)

Standard system initialization procedure.

You may pass a command line in cmdline. It is later available via the global bsp_boot_cmdline variable.

This is the C entry point for ALL RTEMS BSPs. It is invoked from the assembly language initialization file usually called start.S which does the basic CPU setup (stack, C runtime environment, zero BSS, load other sections) and calls afterwards boot_card(). The boot card function provides the framework for the BSP initialization sequence. For the basic flow of initialization see RTEMS C User's Guide, Initialization Manager.

This style of initialization ensures that the C++ global constructors are executed after RTEMS is initialized.