Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
cvmx_sysinfo Struct Reference

#include <cvmx-sysinfo.h>

Data Fields

uint64_t system_dram_size
 
voidphy_mem_desc_ptr
 
uint64_t stack_top
 
uint64_t heap_base
 
uint32_t stack_size
 
uint32_t heap_size
 
uint32_t core_mask
 
uint32_t init_core
 
uint64_t exception_base_addr
 
uint32_t cpu_clock_hz
 
uint32_t dram_data_rate_hz
 
uint16_t board_type
 
uint8_t board_rev_major
 
uint8_t board_rev_minor
 
uint8_t mac_addr_base [6]
 
uint8_t mac_addr_count
 
char board_serial_number [OCTEON_SERIAL_LEN]
 
uint64_t compact_flash_common_base_addr
 
uint64_t compact_flash_attribute_base_addr
 
uint64_t led_display_base_addr
 
uint32_t dfa_ref_clock_hz
 
uint32_t bootloader_config_flags
 
uint8_t console_uart_num
 

Detailed Description

Structure describing application specific information. __cvmx_app_init() populates this from the cvmx boot descriptor. This structure is private to simple executive applications, so no versioning is required.

This structure must be provided with some fields set in order to use simple executive functions in other applications (Linux kernel, u-boot, etc.) The cvmx_sysinfo_minimal_initialize() function is provided to set the required values in these cases.

Definition at line 47 of file cvmx-sysinfo.h.

Field Documentation

uint8_t board_rev_major

Definition at line 81 of file cvmx-sysinfo.h.

uint8_t board_rev_minor

Definition at line 82 of file cvmx-sysinfo.h.

char board_serial_number[OCTEON_SERIAL_LEN]

Definition at line 85 of file cvmx-sysinfo.h.

Definition at line 80 of file cvmx-sysinfo.h.

uint32_t bootloader_config_flags

Definition at line 107 of file cvmx-sysinfo.h.

uint64_t compact_flash_attribute_base_addr

Definition at line 95 of file cvmx-sysinfo.h.

uint64_t compact_flash_common_base_addr

Definition at line 94 of file cvmx-sysinfo.h.

uint8_t console_uart_num

Definition at line 110 of file cvmx-sysinfo.h.

uint32_t core_mask

Definition at line 66 of file cvmx-sysinfo.h.

uint32_t cpu_clock_hz

Definition at line 74 of file cvmx-sysinfo.h.

uint32_t dfa_ref_clock_hz

Definition at line 105 of file cvmx-sysinfo.h.

uint32_t dram_data_rate_hz

Definition at line 77 of file cvmx-sysinfo.h.

uint64_t exception_base_addr

Definition at line 71 of file cvmx-sysinfo.h.

uint64_t heap_base

Definition at line 60 of file cvmx-sysinfo.h.

uint32_t heap_size

Definition at line 64 of file cvmx-sysinfo.h.

uint32_t init_core

Definition at line 68 of file cvmx-sysinfo.h.

uint64_t led_display_base_addr

Definition at line 103 of file cvmx-sysinfo.h.

uint8_t mac_addr_base[6]

Definition at line 83 of file cvmx-sysinfo.h.

uint8_t mac_addr_count

Definition at line 84 of file cvmx-sysinfo.h.

void* phy_mem_desc_ptr

Definition at line 53 of file cvmx-sysinfo.h.

uint32_t stack_size

Definition at line 62 of file cvmx-sysinfo.h.

uint64_t stack_top

Definition at line 58 of file cvmx-sysinfo.h.

uint64_t system_dram_size

Definition at line 50 of file cvmx-sysinfo.h.


The documentation for this struct was generated from the following file: