#include <sys/types.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "uffs/uffs_device.h"
Go to the source code of this file.
Defines | |
#define | BLOCK_DATA_SIZE (PAGES_PER_BLOCK * PAGE_DATA_SIZE) |
#define | BLOCK_SIZE (PAGES_PER_BLOCK * PAGE_SIZE) |
#define | EMUFILE "uffsemfile.bin" |
#define | MAXWRITETIME_PAGE 2 |
#define | MAXWRITETIME_SPARE 2 |
#define | PAGE_DATA_SIZE 512 |
#define | PAGE_SIZE (PAGE_DATA_SIZE + PAGE_SPARE_SIZE) |
#define | PAGE_SPARE_SIZE 16 |
#define | PAGES_PER_BLOCK 32 |
#define | PFX "femu:" |
#define | TOTAL_BLOCKS 128 |
#define | TOTAL_DATA_SIZE (TOTAL_BLOCKS * BLOCK_DATA_SIZE) |
#define | TOTAL_SIZE (BLOCK_SIZE * TOTAL_BLOCKS) |
Typedefs | |
typedef femu_privateSt | femu_private |
Variables | |
uffs_Device | uffs_femuDev |
Definition in file uffs_fileem.c.
#define BLOCK_DATA_SIZE (PAGES_PER_BLOCK * PAGE_DATA_SIZE) |
Definition at line 34 of file uffs_fileem.c.
#define BLOCK_SIZE (PAGES_PER_BLOCK * PAGE_SIZE) |
Definition at line 36 of file uffs_fileem.c.
#define EMUFILE "uffsemfile.bin" |
Definition at line 40 of file uffs_fileem.c.
#define MAXWRITETIME_PAGE 2 |
Definition at line 42 of file uffs_fileem.c.
#define MAXWRITETIME_SPARE 2 |
Definition at line 43 of file uffs_fileem.c.
#define PAGE_DATA_SIZE 512 |
Definition at line 22 of file uffs_fileem.c.
#define PAGE_SIZE (PAGE_DATA_SIZE + PAGE_SPARE_SIZE) |
Definition at line 33 of file uffs_fileem.c.
#define PAGE_SPARE_SIZE 16 |
Definition at line 23 of file uffs_fileem.c.
#define PAGES_PER_BLOCK 32 |
Definition at line 21 of file uffs_fileem.c.
#define PFX "femu:" |
Definition at line 16 of file uffs_fileem.c.
#define TOTAL_BLOCKS 128 |
Definition at line 25 of file uffs_fileem.c.
#define TOTAL_DATA_SIZE (TOTAL_BLOCKS * BLOCK_DATA_SIZE) |
Definition at line 35 of file uffs_fileem.c.
#define TOTAL_SIZE (BLOCK_SIZE * TOTAL_BLOCKS) |
Definition at line 37 of file uffs_fileem.c.
typedef struct femu_privateSt femu_private |
Initial value:
{
femu_initDevice,
femu_releaseDevice,
(void *)(&g_femu_priv),
}
Definition at line 520 of file uffs_fileem.c.