Memory Configuration

Name

Memory Configuration -- Internal configuration.

Synopsis


struct      mem_config_t;
extern      const mem_config_t *MEM_config;
mem_config_t* get_MEM_config                (void);

Description

This is the way to find out Memory internal configuration.

Details

struct mem_config_t

typedef struct {
	gboolean stop_clock;	/* clock should be stoped when something
				   interesting happens */
	gboolean disabled;	/* this subsystem is disabled */
} mem_config_t;


MEM_config

extern const mem_config_t *MEM_config;

This is a pointer to the configuration data, but should be used only for reading.


get_MEM_config ()

mem_config_t* get_MEM_config                (void);

This is the right way to modify the configuration.

Returns : a writable pointer to the configuration data.