Compatibility – Comtrol eCos User Manual

Page 318

Advertising
background image

Chapter 11. Porting Guide

CONSOLE_PROCS

The communication procedure table used for console IO (see

the Section called IO channels

.

DEBUG_PROCS

The communication procedure table used for debugger IO (see

the Section called IO channels

).

FLUSH_DCACHE

Flushes the data cache for the specified region. Some implementations may flush the entire data cache.

FLUSH_ICACHE

Flushes (invalidates) the instruction cache for the specified region. Some implementations may flush the entire
instruction cache.

SET_DEBUG_COMM

Change debugging communication channel.

SET_CONSOLE_COMM

Change console communication channel.

DBG_SYSCALL

Vector used to communication between debugger functions in ROM and in RAM. RAM eCos configurations
may install a function pointer here which the ROM monitor uses to get thread information from the kernel
running in RAM.

RESET

Resets the board on call. If it is not possible to reset the board from software, it will jump to the ROM entry
point which will perform a "software" reset of the board.

CONSOLE_INTERRUPT_FLAG

Set if a debugger interrupt request was detected while processing console IO. Allows the actual breakpoint
action to be handled after return to RAM, ensuring proper backtraces etc.

DELAY_US

Will delay the specified number of microseconds. The precision is platform dependent to some extend - a
small value (<100us) is likely to cause bigger delays than requested.

FLASH_CFG_OP

For accessing configuration settings kept in flash memory.

INSTALL_BPT_FN

Installs a breakpoint at the specified address. This is used by the asynchronous breakpoint support (see ).

214

Advertising