31.01.2013 Views

using the bootstrap loader

using the bootstrap loader

using the bootstrap loader

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

*<br />

* If<br />

* <strong>the</strong> VENDOR$ID returned is nonzero,<br />

* a board exists in <strong>the</strong> examined slot<br />

* <strong>the</strong>n<br />

* If<br />

* VENDOR$ID matches BOARD$ID<br />

* <strong>the</strong>n<br />

* If<br />

* INSTANCE is <strong>the</strong> desired instance of<br />

* BOARD$ID<br />

* <strong>the</strong>n<br />

* return <strong>the</strong> iPSB$SLOT looping index to<br />

* indicate <strong>the</strong> slot number of BOARD$ID<br />

* else<br />

* else<br />

* else<br />

* If we have checked all board slots<br />

* <strong>the</strong>n<br />

* Return <strong>the</strong> value OFFH as <strong>the</strong> iPSB$SLOT<br />

* parameter indicating <strong>the</strong> device<br />

* to boot from does not exist.<br />

* else<br />

* Loop back to beginning to check <strong>the</strong> next<br />

* board slot.<br />

* END DO<br />

* *END CODE:<br />

WRITING A CUSTOM FIRST-STAGE DRIVER<br />

Bootstrap Loader 5-37

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

Saved successfully!

Ooh no, something went wrong!