|
Embedded Xinu Operating System
An ongoing research project and educational operating system.
|
#include <kernel.h>#include <device.h>#include <flash.h>Functions | |
| devcall | flashWrite (device *devptr, uchar *buffer, ulong block) |
A simple, high-level interface to write to flash.
| devcall flashWrite | ( | device * | devptr, |
| uchar * | buffer, | ||
| ulong | block | ||
| ) |
Provides a simple way to write the contents of a block to flash.
| *devptr | pointer to the flash device |
| *buffer | buffer holding content to write (should be flash->log_size) |
| block | block number to write to |
1.8.5