Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

re.h File Reference

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

Go to the source code of this file.

Functions

void dump_before ()
 this is the starting point from which commands and register modifications will be displayed. This function doesn't output anything.
void dump_after (int dump_startup)
 this is the end of the dump. This functions outputs the changes in the registers and in the fifo contents since dump_before() was called.
void dumpreg_before ()
 Saves the content of the mapping containing all registers before running commands through the FIFO.
void dumpreg_after ()
 Saves the content of the mapping containing all registers after running commands through the FIFO.
void parse_opts (int, char **)
 Parse command line options (if any).
unsigned int * gpu_ofs_to_agp (unsigned long ofs)
unsigned int find_dma_src_from_dest (unsigned int to)
void disasm_fp (int addr)
void redirect_output (const char *name)
void close_output ()
void init_card ()
 initialisize the card and mappings.

Variables

unsigned int card_family
unsigned int * all_regs
 Mapping for all available registers.
unsigned int * fb
 Adress of the display memory starting here.
unsigned int fb_size
 Size of the Video memory in Bytes equipped on board.
int fifo_channel


Function Documentation

void close_output  ) 
 

void disasm_fp int  addr  ) 
 

void dump_after int  dump_startup  ) 
 

this is the end of the dump. This functions outputs the changes in the registers and in the fifo contents since dump_before() was called.

void dump_before  ) 
 

this is the starting point from which commands and register modifications will be displayed. This function doesn't output anything.

This function looks through the found mappings and stores away the data inside the mapping for future comparison (when dump_after() is called)

void dumpreg_after  ) 
 

Saves the content of the mapping containing all registers after running commands through the FIFO.

void dumpreg_before  ) 
 

Saves the content of the mapping containing all registers before running commands through the FIFO.

unsigned int find_dma_src_from_dest unsigned int  to  ) 
 

unsigned int* gpu_ofs_to_agp unsigned long  ofs  ) 
 

void init_card  ) 
 

initialisize the card and mappings.

Deduce card type and family and look for mappings of the video memory and the registers.

Todo:
output von /proc/bus/pci/devices

void parse_opts int  argc,
char **  argv
 

Parse command line options (if any).

You can call renouveau with the following options:

  • -f Print "after" values as IEEE 754 FP32
  • -i Print "after" values as INT32
  • -s Print "after" values as 2 INT16
  • -c Print "after" values as 4 INT8
  • -b Print "after" values as bit pattern

void redirect_output const char *  name  ) 
 


Variable Documentation

unsigned int* all_regs
 

Mapping for all available registers.

unsigned int card_family
 

in which family belongs the card we are working with? See generic card types

unsigned int* fb
 

Adress of the display memory starting here.

unsigned int fb_size
 

Size of the Video memory in Bytes equipped on board.

int fifo_channel
 


Generated on Sat Aug 19 20:40:54 2006 for Renouveau by  doxygen 1.4.4