Comtrol eCos User Manual

Page 350

Advertising
background image

Chapter 11. Porting Guide

display

"Enable Pentium class CPU features"

default_value 0

description

"This component enables support for various

features of Pentium class CPUs."

cdl_option CYGHWR_HAL_I386_PENTIUM_SSE {

display

"Save/Restore SSE registers on context switch"

flavor

bool

default_value 0

description "

This option enables SSE state switching. The default

behaviour for eCos is to ignore the SSE registers.

Enabling this option adds SSE state information to

every thread context."

}

cdl_option CYGHWR_HAL_I386_PENTIUM_GDB_REGS {

display

"Support extra Pentium registers in GDB stub"

flavor

bool

default_value 0

description "

This option enables support for extra Pentium registers

in the GDB stub. These are registers such as CR0-CR4, and

all MSRs. Not all GDBs support these registers, so the

default behaviour for eCos is to not include them in the

GDB stub support code."

}

}

In the i386 HALs, the linker script is provided by the architecture HAL. In other HALs, for example MIPS, it is
provided in the variant HAL. The following option provides the name of the linker script to other elements in the
configuration system.

cdl_option CYGBLD_LINKER_SCRIPT {

display "Linker script"

flavor data

no_define

calculated

{ "src/i386.ld" }

}

Finally,

this

interface

indicates

whether

the

platform

supplied

an

implementation

of

the

hal_i386_mem_real_region_top()

function. If it does then it will contain a line of the form:

implements

CYGINT_HAL_I386_MEM_REAL_REGION_TOP

. This allows packages such as RedBoot to detect the presence of

this function so that they may call it.

cdl_interface CYGINT_HAL_I386_MEM_REAL_REGION_TOP {

display

"Implementations of hal_i386_mem_real_region_top()"

}

}

246

Advertising