EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Data Structures | Defines | Typedefs | Functions | Variables

S3C24xxPkg/vivi/include/priv_data.h File Reference

#include <types.h>

Go to the source code of this file.

Data Structures

struct  mtd_partiton
struct  parameter

Defines

#define MAX_PART_NAME   16
#define MAX_PARAM_NAME   24
#define MF_LOCKED   0x00000001
#define MF_MUSTERASE   0x00000002
#define MF_BONFS   0x00000004
#define MF_JFFS2   0x00000008
#define UNKNOWN_MODEM   0
#define X_MODEM   1
#define Y_MODEM   2
#define Z_MODEM   3

Typedefs

typedef struct mtd_partiton mtd_partition_t
typedef unsigned long param_value_t
typedef struct parameter vivi_parameter_t

Functions

int get_default_mtd_partition (void)
int get_default_param_tlb (void)
int get_default_linux_cmd (void)
mtd_partition_tget_mtd_partition (const char *)
mtd_partition_tfind_mtd_partition (ulong ofs)
vivi_parameter_tget_param (const char *)
param_value_t get_param_value (const char *, int *)
int set_param_value (const char *name, param_value_t value)
char * get_linux_cmd_line (void)
void display_param_tlb (void)
void display_mtd_partition (void)
int save_priv_data_blk (void)
int init_priv_data (void)

Variables

const char vivi_param_magic [8]
const char linux_cmd_magic [8]
const char mtd_part_magic [8]
mtd_partition_t default_mtd_partitions []
int default_nb_part
vivi_parameter_t default_vivi_parameters []
int default_nb_params
char linux_cmd []
int * nb_mtd_parts
int * nb_params

Define Documentation

#define MAX_PARAM_NAME   24

Definition at line 9 of file priv_data.h.

#define MAX_PART_NAME   16

Definition at line 8 of file priv_data.h.

#define MF_BONFS   0x00000004

Definition at line 13 of file priv_data.h.

#define MF_JFFS2   0x00000008

Definition at line 14 of file priv_data.h.

#define MF_LOCKED   0x00000001

Definition at line 11 of file priv_data.h.

#define MF_MUSTERASE   0x00000002

Definition at line 12 of file priv_data.h.

#define UNKNOWN_MODEM   0

Definition at line 16 of file priv_data.h.

#define X_MODEM   1

Definition at line 17 of file priv_data.h.

#define Y_MODEM   2

Definition at line 18 of file priv_data.h.

#define Z_MODEM   3

Definition at line 19 of file priv_data.h.


Typedef Documentation

typedef struct mtd_partiton mtd_partition_t
typedef unsigned long param_value_t

Definition at line 28 of file priv_data.h.

typedef struct parameter vivi_parameter_t

Function Documentation

void display_mtd_partition ( void  )

Definition at line 155 of file mtdpart.c.

void display_param_tlb ( void  )

Definition at line 100 of file param.c.

mtd_partition_t* find_mtd_partition ( ulong  ofs)

Definition at line 93 of file mtdpart.c.

int get_default_linux_cmd ( void  )

Definition at line 93 of file rw.c.

int get_default_mtd_partition ( void  )

Definition at line 48 of file rw.c.

int get_default_param_tlb ( void  )

Definition at line 71 of file rw.c.

char* get_linux_cmd_line ( void  )

Definition at line 120 of file param.c.

mtd_partition_t* get_mtd_partition ( const char *  )

Definition at line 76 of file mtdpart.c.

vivi_parameter_t* get_param ( const char *  )

Definition at line 63 of file param.c.

param_value_t get_param_value ( const char *  ,
int *   
)

Definition at line 81 of file param.c.

int init_priv_data ( void  )

Definition at line 221 of file rw.c.

int save_priv_data_blk ( void  )

Definition at line 111 of file rw.c.

int set_param_value ( const char *  name,
param_value_t  value 
)

Definition at line 91 of file param.c.


Variable Documentation

Definition at line 116 of file smdk.c.

Definition at line 97 of file smdk.c.

Definition at line 105 of file smdk.c.

char linux_cmd[]

Definition at line 118 of file smdk.c.

const char linux_cmd_magic[8]

Definition at line 50 of file param.c.

const char mtd_part_magic[8]

Definition at line 63 of file mtdpart.c.

Definition at line 67 of file mtdpart.c.

int* nb_params

Definition at line 54 of file param.c.

const char vivi_param_magic[8]

Definition at line 49 of file param.c.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines