Revision 88eeee0a hw/flash.h
b/hw/flash.h | ||
---|---|---|
1 | 1 |
/* NOR flash devices */ |
2 | 2 |
typedef struct pflash_t pflash_t; |
3 | 3 |
|
4 |
pflash_t *pflash_register (target_phys_addr_t base, ram_addr_t off, |
|
5 |
BlockDriverState *bs, |
|
6 |
uint32_t sector_len, int nb_blocs, int width, |
|
7 |
uint16_t id0, uint16_t id1, |
|
8 |
uint16_t id2, uint16_t id3); |
|
4 |
/* pflash_cfi01.c */ |
|
5 |
pflash_t *pflash_cfi01_register(target_phys_addr_t base, ram_addr_t off, |
|
6 |
BlockDriverState *bs, |
|
7 |
uint32_t sector_len, int nb_blocs, int width, |
|
8 |
uint16_t id0, uint16_t id1, |
|
9 |
uint16_t id2, uint16_t id3); |
|
10 |
|
|
11 |
/* pflash_cfi02.c */ |
|
12 |
pflash_t *pflash_cfi02_register(target_phys_addr_t base, ram_addr_t off, |
|
13 |
BlockDriverState *bs, |
|
14 |
uint32_t sector_len, int nb_blocs, int width, |
|
15 |
uint16_t id0, uint16_t id1, |
|
16 |
uint16_t id2, uint16_t id3); |
|
9 | 17 |
|
10 | 18 |
/* nand.c */ |
11 | 19 |
struct nand_flash_s; |
... | ... | |
37 | 45 |
void ecc_reset(struct ecc_state_s *s); |
38 | 46 |
void ecc_put(QEMUFile *f, struct ecc_state_s *s); |
39 | 47 |
void ecc_get(QEMUFile *f, struct ecc_state_s *s); |
40 |
|
Also available in: Unified diff