![]() |
Doxygen Documentation |
|||||
Package: |
GNAT |
|||||
Version: |
V1-0-23 |
Marked: |
(not marked) |
|||
Constituent: |
gnat |
Tag: |
sun-gcc |
|||
#include "GNAT/gnat.h"
Include dependency graph for ginit.h:

This graph shows which files directly or indirectly include this file:

Data Structures | |
| struct | _driverInfo |
| Common attributes about the driver version. More... | |
| struct | _hardwareInfo |
| Attributes for the hardware configuration. More... | |
Typedefs | |
| typedef _driverInfo | DriverInfo |
| typedef for struct _driverInfo | |
| typedef _hardwareInfo | HardwareInfo |
| typedef for struct _hardwareInfo | |
Functions | |
| unsigned int | gSizeOfGh (void) |
| Hides the private implemenation of the gnat registers. Allows user to allocate memory. | |
| int | gInitDrv (void) |
| Driver wide initialization: allocate memory, semaphores, etc... | |
| int | gInitDev (void) |
| Device initialization: flush buffers, init registers, etc... | |
| int | gOpen (gnatHandle gh, unsigned int physAddr) |
| maps the physical address to an instance of the driver object | |
| int | gClose (gnatHandle gh) |
| shuts down the device attached to handle | |
| int | gGetDriverInfo (DriverInfo *di) |
| fills in driver info struct | |
| int | gGetHardwareInfo (gnatHandle gh, HardwareInfo *hi) |
| fills in hardware info struct | |
| int | gGetLogicalAddr (gnatHandle gh, unsigned int *addr) |
| returns the logical address attached to handle | |
| int | gGetPhysAddr (gnatHandle gh, unsigned int *addr) |
| returns the physical address attached to handle | |
|
|
shuts down the device attached to handle
|
|
|
fills in driver info struct
|
|
||||||||||||
|
fills in hardware info struct
|
Here is the call graph for this function:

|
||||||||||||
|
returns the logical address attached to handle
|
|
||||||||||||
|
returns the physical address attached to handle
|
|
|
Device initialization: flush buffers, init registers, etc...
|
|
|
Driver wide initialization: allocate memory, semaphores, etc...
|
|
||||||||||||
|
maps the physical address to an instance of the driver object
|
Here is the call graph for this function:

|
|
Hides the private implemenation of the gnat registers. Allows user to allocate memory.
|
1.3.3