2012-12-17 15:07:26 -04:00
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
#include "Storage.h"
|
|
|
|
|
|
|
|
using namespace Empty;
|
|
|
|
|
2015-12-07 14:53:55 -04:00
|
|
|
Storage::Storage()
|
2012-12-17 15:07:26 -04:00
|
|
|
{}
|
|
|
|
|
2015-12-07 14:53:55 -04:00
|
|
|
void Storage::init()
|
2012-12-17 15:07:26 -04:00
|
|
|
{}
|
|
|
|
|
2015-12-07 14:53:55 -04:00
|
|
|
void Storage::read_block(void* dst, uint16_t src, size_t n) {
|
2012-12-17 15:07:26 -04:00
|
|
|
memset(dst, 0, n);
|
|
|
|
}
|
|
|
|
|
2015-12-07 14:53:55 -04:00
|
|
|
void Storage::write_block(uint16_t loc, const void* src, size_t n)
|
2012-12-17 15:07:26 -04:00
|
|
|
{}
|
|
|
|
|