cpu_misc.h File Reference


Detailed Description

Contains code macros for miscellaneous processor instructions.

Based on ARM chapter 4.11.

Id
cpu_misc.h,v 1.13 2008/03/14 15:30:52 iamcamiel Exp

X-1.12 Camiel Vanderhoeven 14-MAR-2008 1. More meaningful exceptions replace throwing (int) 1. 2. U64 macro replaces X64 macro.

X-1.11 Camiel Vanderhoeven 05-MAR-2008 Multi-threading version.

X-1.10 Camiel Vanderhoeven 30-JAN-2008 Always use set_pc or add_pc to change the program counter.

X-1.9 Camiel Vanderhoeven 30-JAN-2008 Remember number of instructions left in current memory page, so that the translation-buffer doens't need to be consulted on every instruction fetch when the Icache is disabled.

X-1.8 Camiel Vanderhoeven 2-DEC-2007 Use vmspal_call functions.

X-1.7 Camiel Vanderhoeven 16-NOV-2007 Avoid more compiler warnings.

X-1.6 Camiel Vanderhoeven 14-NOV-2007 Bug-fix in CALL_PAL RSCC.

X-1.5 Camiel Vanderhoeven 14-NOV-2007 Implemented most simple PALcode routines in C++.

X-1.4 Camiel Vanderhoeven 12-NOV-2007 Made a start with implementing PALcode routines in C++.

X-1.3 Camiel Vanderhoeven 11-APR-2007 Moved all data that should be saved to a state file to a structure "state".

X-1.2 Camiel Vanderhoeven 30-MAR-2007 Added old changelog comments.

X-1.1 Camiel Vanderhoeven 18-FEB-2007 File created. Contains code previously found in AlphaCPU.h

Definition in file cpu_misc.h.

Go to the source code of this file.

Defines

#define DO_AMASK   state.r[REG_3] = V_2 &~CPU_AMASK;
#define DO_CALL_PAL
#define DO_IMPLVER   state.r[REG_3] = CPU_IMPLVER;
#define DO_RPCC
#define DO_TRAPB   ;
#define DO_EXCB   ;
#define DO_MB   ;
#define DO_WMB   ;
#define DO_FETCH   ;
#define DO_FETCH_M   ;
#define DO_ECB   ;
#define DO_WH64   ;
#define DO_WH64EN   ;


Define Documentation

#define DO_AMASK   state.r[REG_3] = V_2 &~CPU_AMASK;

Definition at line 73 of file cpu_misc.h.

#define DO_CALL_PAL

Definition at line 75 of file cpu_misc.h.

#define DO_ECB   ;

Definition at line 315 of file cpu_misc.h.

#define DO_EXCB   ;

Definition at line 310 of file cpu_misc.h.

#define DO_FETCH   ;

Definition at line 313 of file cpu_misc.h.

#define DO_FETCH_M   ;

Definition at line 314 of file cpu_misc.h.

#define DO_IMPLVER   state.r[REG_3] = CPU_IMPLVER;

Definition at line 303 of file cpu_misc.h.

#define DO_MB   ;

Definition at line 311 of file cpu_misc.h.

#define DO_RPCC

Value:

state.r[REG_1] = ((u64) state.cc_offset) << 32 | \
    (state.cc & U64(0xffffffff));

Definition at line 305 of file cpu_misc.h.

#define DO_TRAPB   ;

Definition at line 309 of file cpu_misc.h.

#define DO_WH64   ;

Definition at line 316 of file cpu_misc.h.

#define DO_WH64EN   ;

Definition at line 317 of file cpu_misc.h.

#define DO_WMB   ;

Definition at line 312 of file cpu_misc.h.


SourceForge.net Logo
Project space on SourceForge.net