02.03.2014 Views

BSP Developer's Guide

BSP Developer's Guide

BSP Developer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Index<br />

naming conventions 95<br />

performance issues 90<br />

portability 90<br />

problems 92–94<br />

re-entrancy 91<br />

routines, declaring 100–101<br />

templates, using 100<br />

testing 101<br />

DMA support 254<br />

Enhanced Network Driver (END) 282–298<br />

entry points, required 289–298<br />

Ethernet controllers 80<br />

flash 252<br />

generic 247–255<br />

END template 267<br />

interrupt controller template 254<br />

NVRAM template 252<br />

serial template 248<br />

timer template 251<br />

timers 251<br />

initializing 25<br />

installing 36<br />

interrupt controllers 254<br />

avoiding design problems 94<br />

interrupt handlers, registering 271<br />

launching 270–274<br />

multi-function (ASIC chips) 254<br />

multi-mode serial, generic and template 249<br />

network 58<br />

4.3 BSD, structure of 258<br />

4.4 BSD, porting 4.3 BSD to 260–264<br />

loading 271<br />

MUX, upgrading 4.3 BSD to 257<br />

non-volatile RAM (NVRAM) 252<br />

packets, receiving 275–280<br />

PCI bus 255<br />

required 56<br />

scatter-gather, supporting 280<br />

SCSI support 81<br />

writing a driver 317–364<br />

serial 56<br />

generic and template 248<br />

system clock 79<br />

generic 251<br />

minimal kernels, using 56<br />

E<br />

target system, adding to a 273–274<br />

template versions 100<br />

timestamp 79<br />

troubleshooting<br />

improperly delivered 38<br />

printf( ) 102<br />

VMEbus 253<br />

END_LOAD_FUNC 274<br />

END_LOAD_STRING 274<br />

END_OBJ 283–285<br />

members 283–285<br />

END_OVERRIDE 274<br />

endFormAddresst( ) 299<br />

endIoctl( ) 292<br />

endLoad( )<br />

END_OBJ structures, and 283<br />

entry point, specifying the 274<br />

endMCastAddrAdd( ) 296<br />

endMCastAddrDel( ) 297–298<br />

endMCastAddrGet( ) 298<br />

endPacketDatarGet( ) 299<br />

endPollReceive( ) 296<br />

endPollSend( ) 295<br />

endSend( ) 293<br />

endStart( ) 294<br />

interrupt handlers, registering driver 271<br />

endStop( ) 294<br />

endTbl table 274<br />

endUnload( ) 291<br />

Enhanced Network Driver (END) 282–298<br />

buffered data, vehicle for 288<br />

configuring 274<br />

control structures, tracking device 285<br />

entry points, required 289–298<br />

errors, indicating 280<br />

network devices, manipulating 283–285<br />

porting 4.3 BSD drivers to 264–266<br />

entry points, required 264–266<br />

IX<br />

431

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!