OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_68/] [or1ksim/] [cpu/] [common/] [abstract.h] - Diff between revs 1446 and 1452

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 1446 Rev 1452
Line 132... Line 132...
char *generate_time_pretty (char *dest, long time_ps);
char *generate_time_pretty (char *dest, long time_ps);
 
 
/* Returns 32-bit values from mem array. */
/* Returns 32-bit values from mem array. */
uint32_t eval_insn(oraddr_t, int *);
uint32_t eval_insn(oraddr_t, int *);
 
 
 
uint32_t eval_insn_direct(oraddr_t memaddr, int* breakpoint, int through_mmu);
 
 
uint8_t eval_direct8(oraddr_t memaddr, int *breakpoint, int through_mmu, int through_dc);
uint8_t eval_direct8(oraddr_t memaddr, int *breakpoint, int through_mmu, int through_dc);
uint16_t eval_direct16(oraddr_t memaddr, int *breakpoint, int through_mmu, int through_dc);
uint16_t eval_direct16(oraddr_t memaddr, int *breakpoint, int through_mmu, int through_dc);
uint32_t eval_direct32(oraddr_t addr, int *breakpoint, int through_mmu, int through_dc);
uint32_t eval_direct32(oraddr_t addr, int *breakpoint, int through_mmu, int through_dc);
 
 
void set_direct32(uint32_t addr, uint32_t value, int *breakpoint, int through_mmu, int through_dc);
void set_direct32(uint32_t addr, uint32_t value, int *breakpoint, int through_mmu, int through_dc);
Line 156... Line 158...
#endif /* ! LONGEST */
#endif /* ! LONGEST */
 
 
/* Instructions left to execute */
/* Instructions left to execute */
extern int cont_run;
extern int cont_run;
 
 
 
/* Returns the page that addr belongs to */
 
#define ADDR_PAGE(addr) ((addr) & ~(ADDR_C(PAGE_SIZE) - 1))
 
 
/* History of execution */
/* History of execution */
#define HISTEXEC_LEN 200
#define HISTEXEC_LEN 200
struct hist_exec {
struct hist_exec {
  oraddr_t addr;
  oraddr_t addr;
  struct hist_exec *prev;
  struct hist_exec *prev;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.