GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBC / V4-5-0

Constituent: pbc_bootshell     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

pbc_memmap.h File Reference

Memory map defintions for the PBC. More...

#include "Memmap.h"

Include dependency graph for pbc_memmap.h:

Include dependency graph

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

Included by dependency graph

SDRAM Boot Memory Map Definitions

These addresses and sizes describe regions of the memory map that are located within the SDRAM and available to the primary boot code (PBC).

#define PBC_RAM_LOW_BOOT_BASE   (0x00000000)
 Location of low boot SDRAM.

#define PBC_RAM_LOW_BOOT_BYTES   (0x0000FF80)
 Size of low boot region.

#define PBC_RAM_HIGH_BOOT_BASE   (0x00010000)
 Location of high boot SDRAM.

#define PBC_RAM_HIGH_BOOT_BYTES   (0x002F0000)
 Size of high boot region.

#define PBC_RAM_PPC_RESET_ADRS   (0x00000100)
 Location of start of RAM-based PPC exception handler region.

#define PBC_RAM_PPC_RESET_BYTES   (0x00002F00)
 Size of RAM-based PPC exception handler region.

#define PBC_RAM_STACK_BOTTOM_ADRS   (0x00003000)
 Address in RAM of the bottom of the PBC stack area.

#define PBC_RAM_STACK_TOP_ADRS   (0x0000FD00)
 Address in RAM of the top of the PBC stack.

#define PBC_RAM_STACK_BYTES   (PBC_RAM_STACK_TOP_ADRS - PBC_RAM_STACK_BOTTOM_ADRS)
 Size in RAM of the PBC stack.

#define PBC_RAM_LAST_RTOS_ADRS   (0x00080000)
 Address in RAM of last loaded RTOS image.

#define PBC_RAM_LAST_RTOS_SIZE   (0x000C0000)
 Size in RAM of last loaded RTOS image region.

#define PBC_RAM_UPLOAD_BUFFER_ADRS   (0x00140000)
 Address in RAM of the PBC FILE UPLOAD buffer.

#define PBC_RAM_UPLOAD_BUFFER_BYTES   (0x000C0000)
 Size in RAM of the PBC FILE UPLOAD buffer.

#define PBC_RAM_LCB_RING_BUFFER_ADRS   (0x00200000)
 Address in RAM of the start of the PBC LBC ring buffer.

#define PBC_RAM_LCB_RING_BUFFER_BYTES   (0x000A0000)
 Size in RAM of the PBC LCB ring buffer.

#define PBC_RAM_OUTPUT_BUFFER_ADRS   (0x002A0000)
 Address in RAM of the start of the PBC LCB output buffer.

#define PBC_RAM_OUTPUT_BUFFER_BYTES   (0x00001000)
 Size in RAM of the PBC LCB output buffer.

#define PBC_RAM_INPUT_BUFFER_ADRS   (0x002A1000)
 Address in RAM of the start of the PBC LCB input buffer.

#define PBC_RAM_INPUT_BUFFER_BYTES   (0x00001000)
 Size in RAM of the PBC LCB input buffer.

#define PBC_RAM_HEAP_ADRS   (0x002A2000)
 Address in RAM of the start of the PBC heap region.

#define PBC_RAM_HEAP_BYTES   (0x00046000)
 Size in RAM of the PBC heap region.

#define PBC_RAM_DATA_ADRS   (0x002E8000)
 Address in RAM of the start of the PBC data region.

#define PBC_RAM_DATA_BYTES   (0x00018000)
 Size in RAM of the PBC data region.


Detailed Description

Memory map defintions for the PBC.

  CVS $Id: pbc_memmap.h,v 1.3 2004/12/30 20:29:01 dmay Exp $
  

Define Documentation

#define PBC_RAM_DATA_ADRS   (0x002E8000)
 

Address in RAM of the start of the PBC data region.

Defines an address in RAM where the PBC data region starts. PBC data is copied from ROM to this region in RAM before the PBC transitions to executing from RAM.

#define PBC_RAM_DATA_BYTES   (0x00018000)
 

Size in RAM of the PBC data region.

Defines the size (in bytes) of the PBC data region.

#define PBC_RAM_HEAP_ADRS   (0x002A2000)
 

Address in RAM of the start of the PBC heap region.

Defines an address in RAM where the PBC heap region starts.

#define PBC_RAM_HEAP_BYTES   (0x00046000)
 

Size in RAM of the PBC heap region.

Defines the size (in bytes) of the PBC heap region.

#define PBC_RAM_HIGH_BOOT_BASE   (0x00010000)
 

Location of high boot SDRAM.

Defines the logical address in SDRAM of the high boot region. Since the boot diagnostics area is in the middle of the boot area, define "LOW" and "HIGH" regions that surround the boot diagnostics area.

#define PBC_RAM_HIGH_BOOT_BYTES   (0x002F0000)
 

Size of high boot region.

Defines the amount of SDRAM (in bytes) that makes up the high boot boot region.

#define PBC_RAM_INPUT_BUFFER_ADRS   (0x002A1000)
 

Address in RAM of the start of the PBC LCB input buffer.

Defines an address in RAM where the PBC's LCB input buffer starts. This buffer must be aligned to a 16 byte (0x10) boundary.

#define PBC_RAM_INPUT_BUFFER_BYTES   (0x00001000)
 

Size in RAM of the PBC LCB input buffer.

Defines the size (in bytes) of the PBC's LCB input buffer region. This buffer must be at least 4084 bytes (0xFF4) in length.

#define PBC_RAM_LAST_RTOS_ADRS   (0x00080000)
 

Address in RAM of last loaded RTOS image.

Defines an address in RAM where the most recent RTOS image is stored before it is inflated.

#define PBC_RAM_LAST_RTOS_SIZE   (0x000C0000)
 

Size in RAM of last loaded RTOS image region.

Defines the size (in bytes) of the region in RAM where the most-recently loaded RTOS image is stored. This is not the size of the image, but the size of the entire region.

#define PBC_RAM_LCB_RING_BUFFER_ADRS   (0x00200000)
 

Address in RAM of the start of the PBC LBC ring buffer.

Defines an address in RAM where the PBC's LCB ring buffer starts. This buffer must be aligned to a 1 MB (0x100000) boundary.

#define PBC_RAM_LCB_RING_BUFFER_BYTES   (0x000A0000)
 

Size in RAM of the PBC LCB ring buffer.

Defines the size (in bytes) of the PBC's LCB ring buffer. This buffer must be at least 640 KB (0xA0000) in length.

#define PBC_RAM_LOW_BOOT_BASE   (0x00000000)
 

Location of low boot SDRAM.

Defines the logical address in SDRAM of the low boot region. Since the boot diagnostics area is in the middle of the boot area, define "LOW" and "HIGH" regions that surround the boot diagnostics area.

#define PBC_RAM_LOW_BOOT_BYTES   (0x0000FF80)
 

Size of low boot region.

Defines the amount of SDRAM (in bytes) that makes up the low boot region.

#define PBC_RAM_OUTPUT_BUFFER_ADRS   (0x002A0000)
 

Address in RAM of the start of the PBC LCB output buffer.

Defines an address in RAM where the PBC's LCB output buffer starts. This buffer must be aligned to a 512 byte (0x200) boundary.

#define PBC_RAM_OUTPUT_BUFFER_BYTES   (0x00001000)
 

Size in RAM of the PBC LCB output buffer.

Defines the size (in bytes) of the PBC's LCB output buffer region. This buffer must be at least 4092 bytes (0xFFC) in length.

#define PBC_RAM_PPC_RESET_ADRS   (0x00000100)
 

Location of start of RAM-based PPC exception handler region.

Defines the address in RAM that is the start of the PPC exception handler region. When operating fram RAM, the PPC jumps into this region when an exception occurs. When operating from ROM, however, the PPC jumps into the region located in ROM.

#define PBC_RAM_PPC_RESET_BYTES   (0x00002F00)
 

Size of RAM-based PPC exception handler region.

Defines the length (in bytes) of the RAM-based PPC excpetion handler region. This is not the size of the RAM-based PPC exception handler code, but the size of the region allocated for its use.

#define PBC_RAM_STACK_BOTTOM_ADRS   (0x00003000)
 

Address in RAM of the bottom of the PBC stack area.

Defines an address in RAM where the PBC stack area starts. The stack actually starts at the end (top) of the stack area and grows downward toward this address.

#define PBC_RAM_STACK_BYTES   (PBC_RAM_STACK_TOP_ADRS - PBC_RAM_STACK_BOTTOM_ADRS)
 

Size in RAM of the PBC stack.

Defines the size (in bytes) of the PBC stack area. There is no software or hardware that enforces this limit, however.

#define PBC_RAM_STACK_TOP_ADRS   (0x0000FD00)
 

Address in RAM of the top of the PBC stack.

Defines an address in RAM where the PBC stack area ends. The stack starts at this address and grows downward, toward the start (bottom) of the stack area.

#define PBC_RAM_UPLOAD_BUFFER_ADRS   (0x00140000)
 

Address in RAM of the PBC FILE UPLOAD buffer.

Defines an address in RAM of the start of a buffer where the PBC stores FILE-UPLOAD data before it is committed to memory.

#define PBC_RAM_UPLOAD_BUFFER_BYTES   (0x000C0000)
 

Size in RAM of the PBC FILE UPLOAD buffer.

Defines the size (in bytes) of the PBC FILE-UPLOAD buffer.


Generated on Fri Jul 22 20:17:39 2005 by doxygen 1.3.3