Removed the VGA_/VGO_/VGP_ prefixes for arch/OS/platform-specific
things.  These made sense when the arch/OS/platform-specific code was in
one module, but as that code got mixed in with generic code the boundary
between generic and non-generic blurred, and the distinction made less
sense.  So let's get rid of them.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4002 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/cachegrind/cg_main.c b/cachegrind/cg_main.c
index 1c2f09d..9eb744a 100644
--- a/cachegrind/cg_main.c
+++ b/cachegrind/cg_main.c
@@ -298,7 +298,7 @@
 /*--- Cache simulation functions                           ---*/
 /*------------------------------------------------------------*/
 
-static VGA_REGPARM(1)
+static VG_REGPARM(1)
 void log_1I_0D_cache_access(instr_info* n)
 {
    //VG_(printf)("1I_0D : CCaddr=0x%x, iaddr=0x%x, isize=%u\n",
@@ -310,7 +310,7 @@
    VGP_POPCC(VgpCacheSimulate);
 }
 
-static VGA_REGPARM(2)
+static VG_REGPARM(2)
 void log_1I_1Dr_cache_access(instr_info* n, Addr data_addr)
 {
    //VG_(printf)("1I_1Dr: CCaddr=%p, iaddr=%p, isize=%u, daddr=%p, dsize=%u\n",
@@ -326,7 +326,7 @@
    VGP_POPCC(VgpCacheSimulate);
 }
 
-static VGA_REGPARM(2)
+static VG_REGPARM(2)
 void log_1I_1Dw_cache_access(instr_info* n, Addr data_addr)
 {
    //VG_(printf)("1I_1Dw: CCaddr=%p, iaddr=%p, isize=%u, daddr=%p, dsize=%u\n",
@@ -342,7 +342,7 @@
    VGP_POPCC(VgpCacheSimulate);
 }
 
-static VGA_REGPARM(3)
+static VG_REGPARM(3)
 void log_1I_2D_cache_access(instr_info* n, Addr data_addr1, Addr data_addr2)
 {
    //VG_(printf)("1I_2D: CCaddr=%p, iaddr=%p, isize=%u, daddr1=%p, daddr2=%p, dsize=%u\n",
@@ -554,8 +554,8 @@
 
    // Nb: instrLen will be zero if Vex failed to decode it.
    tl_assert( 0 == instrLen ||
-              (instrLen >= VGA_MIN_INSTR_SZB && 
-               instrLen <= VGA_MAX_INSTR_SZB) );
+              (instrLen >= VG_MIN_INSTR_SZB && 
+               instrLen <= VG_MAX_INSTR_SZB) );
 
    // Large (eg. 28B, 108B, 512B on x86) data-sized instructions will be
    // done inaccurately, but they're very rare and this avoids errors from
@@ -762,7 +762,7 @@
 
    // Set the cache config (using auto-detection, if supported by the
    // architecture)
-   VGA_(configure_caches)( I1c, D1c, L2c, (3 == n_clos) );
+   VG_(configure_caches)( I1c, D1c, L2c, (3 == n_clos) );
 
    // Then replace with any defined on the command line.
    if (DEFINED(clo_I1_cache)) { *I1c = clo_I1_cache; }