#include <axis_sram.h>
Collaboration diagram for sram_block:

Used to track individual memory partition and any devices associated with them
Data Fields | |
| list_head | list |
| semaphore | enable_lock |
| unsigned long | relative_start |
| unsigned long | physical_start |
| unsigned char * | virtual_start |
| unsigned long | length |
| sram_access_control | access_control |
| axis_pci_device_entry * | device |
| sram_config_entry * | config |
| mtd_info | sram_mtd_info |
| unsigned | minor_number |
| int | mtd_active |
| char | name [32] |
| proc_dir_entry * | proc_directory |
|
|
access control( read and write enables ) |
|
|
pointer to config object that formed this object |
|
|
pointer to parent device |
|
|
|
|
|
block length |
|
|
attach a list to each PCI devices |
|
|
Minor Number for this partition |
|
|
Did we open an MTD device for this partition |
|
|
Name of partition for regions and MTD |
|
|
Start Address (physical) |
|
|
|
|
|
Address as offset from start of SRAM |
|
|
MTD setup |
|
|
Start Address (as mapped into our address space) |
1.3.6