Main Page | Data Structures | File List | Data Fields | Globals

sram_block Struct Reference

#include <axis_sram.h>

Collaboration diagram for sram_block:

Collaboration graph
[legend]

Detailed Description

sram memory control 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_entrydevice
sram_config_entryconfig
mtd_info sram_mtd_info
unsigned minor_number
int mtd_active
char name [32]
proc_dir_entry * proc_directory


Field Documentation

struct sram_access_control sram_block::access_control
 

access control( read and write enables )

struct sram_config_entry* sram_block::config
 

pointer to config object that formed this object

struct axis_pci_device_entry* sram_block::device
 

pointer to parent device

struct semaphore sram_block::enable_lock
 

unsigned long sram_block::length
 

block length

struct list_head sram_block::list
 

attach a list to each PCI devices

unsigned sram_block::minor_number
 

Minor Number for this partition

int sram_block::mtd_active
 

Did we open an MTD device for this partition

char sram_block::name[32 ]
 

Name of partition for regions and MTD

unsigned long sram_block::physical_start
 

Start Address (physical)

struct proc_dir_entry* sram_block::proc_directory
 

unsigned long sram_block::relative_start
 

Address as offset from start of SRAM

struct mtd_info sram_block::sram_mtd_info
 

MTD setup

unsigned char* sram_block::virtual_start
 

Start Address (as mapped into our address space)


The documentation for this struct was generated from the following file:
Generated on Fri Jan 28 12:37:52 2005 for Axis Kernel Driver by doxygen 1.3.6