Embedded Xinu Operating System
An ongoing research project and educational operating system.
|
Macros | |
#define | NFLASH 0 |
Functions | |
devcall | flashInit (device *devptr) |
Variables | |
struct flash | flashtab [NFLASH] |
struct flash_block | bad_block = { 0, 0, FLASH_BLOCK_DIRTY, NULL } |
Flash initialization. This should be called during general device initialization and will detect a CFI flash device.
devcall flashInit | ( | device * | devptr | ) |
Initialized the flash device located beginning at the value of this devices CSR.
*devptr | pointer to device entry |