GDB (xrefs)
Loading...
Searching...
No Matches
Functions | Variables
target-dcache.c File Reference
#include "defs.h"
#include "target-dcache.h"
#include "gdbcmd.h"
#include "progspace.h"
#include "cli/cli-cmds.h"

Go to the source code of this file.

Functions

int target_dcache_init_p (void)
 
void target_dcache_invalidate (void)
 
DCACHEtarget_dcache_get (void)
 
DCACHEtarget_dcache_get_or_init (void)
 
static void set_stack_cache (const char *args, int from_tty, struct cmd_list_element *c)
 
static void show_stack_cache (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
int stack_cache_enabled_p (void)
 
static void set_code_cache (const char *args, int from_tty, struct cmd_list_element *c)
 
static void show_code_cache (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
int code_cache_enabled_p (void)
 
static void maint_flush_dcache_command (const char *command, int from_tty)
 
void _initialize_target_dcache ()
 

Variables

static const registry< address_space >::key< DCACHE, dcache_deletertarget_dcache_aspace_key
 
static bool stack_cache_enabled_1 = true
 
static int stack_cache_enabled = 1
 
static bool code_cache_enabled_1 = true
 
static int code_cache_enabled = 1
 

Function Documentation

◆ _initialize_target_dcache()

void _initialize_target_dcache ( )

Definition at line 168 of file target-dcache.c.

Referenced by initialize_all_files().

◆ code_cache_enabled_p()

int code_cache_enabled_p ( void )

Definition at line 151 of file target-dcache.c.

References code_cache_enabled.

Referenced by memory_xfer_partial_1(), and raw_memory_xfer_partial().

◆ maint_flush_dcache_command()

static void maint_flush_dcache_command ( const char * command,
int from_tty )
static

Definition at line 159 of file target-dcache.c.

References gdb_printf(), and target_dcache_invalidate().

◆ set_code_cache()

static void set_code_cache ( const char * args,
int from_tty,
struct cmd_list_element * c )
static

◆ set_stack_cache()

static void set_stack_cache ( const char * args,
int from_tty,
struct cmd_list_element * c )
static

◆ show_code_cache()

static void show_code_cache ( struct ui_file * file,
int from_tty,
struct cmd_list_element * c,
const char * value )
static

Definition at line 142 of file target-dcache.c.

References gdb_printf().

◆ show_stack_cache()

static void show_stack_cache ( struct ui_file * file,
int from_tty,
struct cmd_list_element * c,
const char * value )
static

Definition at line 102 of file target-dcache.c.

References gdb_printf().

◆ stack_cache_enabled_p()

int stack_cache_enabled_p ( void )

Definition at line 111 of file target-dcache.c.

References stack_cache_enabled.

Referenced by memory_xfer_partial_1(), and raw_memory_xfer_partial().

◆ target_dcache_get()

DCACHE * target_dcache_get ( void )

◆ target_dcache_get_or_init()

DCACHE * target_dcache_get_or_init ( void )

◆ target_dcache_init_p()

int target_dcache_init_p ( void )

◆ target_dcache_invalidate()

void target_dcache_invalidate ( void )

Variable Documentation

◆ code_cache_enabled

int code_cache_enabled = 1
static

Definition at line 123 of file target-dcache.c.

Referenced by code_cache_enabled_p(), and set_code_cache().

◆ code_cache_enabled_1

bool code_cache_enabled_1 = true
static

Definition at line 118 of file target-dcache.c.

Referenced by set_code_cache().

◆ stack_cache_enabled

int stack_cache_enabled = 1
static

Definition at line 85 of file target-dcache.c.

Referenced by set_stack_cache(), and stack_cache_enabled_p().

◆ stack_cache_enabled_1

bool stack_cache_enabled_1 = true
static

Definition at line 81 of file target-dcache.c.

Referenced by set_stack_cache().

◆ target_dcache_aspace_key

const registry<address_space>::key<DCACHE, dcache_deleter> target_dcache_aspace_key
static