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.

Contents<br />

F Generic Drivers ......................................................................................................... 247<br />

F.1 Introduction ...................................................................................................... 247<br />

F.2 Serial Drivers ..................................................................................................... 248<br />

F.3 Multi-Mode Serial (SIO) Drivers .................................................................... 249<br />

F.4 Timer .................................................................................................................. 251<br />

F.5 Non-Volatile Memory ...................................................................................... 252<br />

F.6 VMEbus ............................................................................................................. 253<br />

F.7 DMA ................................................................................................................... 254<br />

F.8 Interrupt Controllers ........................................................................................ 254<br />

F.9 Multi-Function .................................................................................................. 254<br />

F.10 PCI Bus ............................................................................................................... 255<br />

G Upgrading 4.3 BSD Network Drivers ...................................................................... 257<br />

G.1 Introduction ...................................................................................................... 257<br />

G.1.1 Structure of a 4.3 BSD Network Driver .......................................... 258<br />

G.1.2 Etherhook Routines Provide Access to Raw Packets .................... 259<br />

G.2 Upgrading to 4.4 BSD ...................................................................................... 260<br />

G.2.1 Removing the xxOutput( ) Routine ................................................. 261<br />

G.2.2 Changing the Transmit Startup Routine ......................................... 262<br />

G.2.3 Changes in Receiving Packets .......................................................... 262<br />

G.2.4 Creating a Transmit Startup Routine .............................................. 263<br />

G.3 Porting a Network Interface Driver to the END Model ............................. 264<br />

Rewrite xxattach( ) to Use an endLoad( ) Interface ....................... 265<br />

xxReceive( ) Still Handles Task-Level Packet Reception .............. 265<br />

Rewrite xxOutput( ) to Use an endSend( ) Interface ..................... 265<br />

xv

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

Saved successfully!

Ooh no, something went wrong!