jt_flash_info.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include "dbg_msg.h"
#include "jt_arm.h"
#include "jt_flash.h"

Functions

Variables


Detailed Description

Flash support functions


Function Documentation

void jt_flash_create_sector_info ( struct sector **  sector_info  ) 

Allocate and create a sector_info out of all previous collected data.
Base input data come from:
block_size, bottom_parameter_size, top_parameter_size num_of_blocks, num_of_bottom_parameter_blocks, num_of_top_parameter_blocks, bottom_boot_size, bottom_inter_size, top_boot_size, top_inter_size lock, num_of_regions, num_of_blocks_per_region

Parameters:
sector_info pointer to pointer (to hold new allocated structure)
Returns:
-

References flash_temp_info::block_size, flash_temp_info::bottom_boot_size, flash_temp_info::bottom_inter_size, flash_temp_info::bottom_parameter_size, DBG_LEVEL_GDB_ARM_WARN, dbgPrintf(), sector::lock, flash_temp_info::lock, flash_temp_info::num_of_blocks, flash_temp_info::num_of_blocks_per_region, flash_temp_info::num_of_bottom_parameter_blocks, flash_temp_info::num_of_top_parameter_blocks, sector::region, sector::sectors_per_region, sector::size, flash_temp_info::top_boot_size, flash_temp_info::top_inter_size, and flash_temp_info::top_parameter_size.

Referenced by defaultFlash(), jt_amdflashGetInfoByte(), jt_amdflashGetInfoHalfword(), jt_amdflashGetInfoWord(), jt_atmelflashGetInfo(), jt_intelflashGetInfoByte(), jt_intelflashGetInfoHalfword(), jt_philipsflashGetInfo(), and jt_stflashGetInfo().


Variable Documentation


This file is part of the documentation for JTAG-GDB Server for ARM .

Generated on Mon Feb 15 21:23:21 2010 by doxygen 1.6.2.