Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

lx_t Struct Reference

#include <lx.h>


Data Fields

unsigned short version
 version number
unsigned short base
 current text segment base address
unsigned short text_size
 size of read-only segment
unsigned short data_size
 size of initialized data segment
unsigned short bss_size
 size of uninitialized data segment
unsigned short stack_size
 stack size
unsigned short offset
 start offset from text
unsigned short num_relocs
 number of relocations.
unsigned char * text
 program text (not stored on disk)
unsigned short * reloc
 relocations (not stored on disk)


Field Documentation

unsigned short lx_t::base
 

current text segment base address

Definition at line 33 of file lx.h.

Referenced by lx_from_images(), lx_relocate(), and main().

unsigned short lx_t::bss_size
 

size of uninitialized data segment

Definition at line 36 of file lx.h.

Referenced by lx_from_images(), and main().

unsigned short lx_t::data_size
 

size of initialized data segment

Definition at line 35 of file lx.h.

Referenced by lnp_download(), lx_from_images(), lx_read(), lx_write(), and main().

unsigned short lx_t::num_relocs
 

number of relocations.

Definition at line 39 of file lx.h.

Referenced by lx_from_images(), lx_read(), lx_relocate(), lx_write(), and main().

unsigned short lx_t::offset
 

start offset from text

Definition at line 38 of file lx.h.

Referenced by lx_from_images(), and main().

unsigned short* lx_t::reloc
 

relocations (not stored on disk)

Definition at line 42 of file lx.h.

Referenced by lx_from_images(), lx_read(), lx_relocate(), and lx_write().

unsigned short lx_t::stack_size
 

stack size

Definition at line 37 of file lx.h.

Referenced by lx_from_images(), and main().

unsigned char* lx_t::text
 

program text (not stored on disk)

Definition at line 41 of file lx.h.

Referenced by lnp_download(), lx_from_images(), lx_read(), lx_relocate(), and lx_write().

unsigned short lx_t::text_size
 

size of read-only segment

Definition at line 34 of file lx.h.

Referenced by lnp_download(), lx_from_images(), lx_read(), lx_write(), and main().

unsigned short lx_t::version
 

version number

Definition at line 32 of file lx.h.

Referenced by lx_from_images(), and main().


The documentation for this struct was generated from the following file:
Generated on Fri Feb 25 08:02:48 2005 for brickos by  doxygen 1.3.9.1