asi.hh (3804:fa7a01dddc7a) asi.hh (3806:65ae5388c059)
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 21 unchanged lines hidden (view full) ---

30 */
31
32#ifndef __ARCH_SPARC_ASI_HH__
33#define __ARCH_SPARC_ASI_HH__
34
35namespace SparcISA
36{
37 enum ASI {
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 21 unchanged lines hidden (view full) ---

30 */
31
32#ifndef __ARCH_SPARC_ASI_HH__
33#define __ARCH_SPARC_ASI_HH__
34
35namespace SparcISA
36{
37 enum ASI {
38 ASI_IMPLICIT = 0x00,
38 /* Priveleged ASIs */
39 //0x00-0x03 implementation dependent
40 ASI_NUCLEUS = 0x4,
41 ASI_N = 0x4,
42 //0x05-0x0B implementation dependent
43 ASI_NL = 0xC,
44 ASI_NUCLEUS_LITTLE = ASI_NL,
45 //0x0D-0x0F implementation dependent

--- 191 unchanged lines hidden (view full) ---

237 ASI_BLK_S = 0xF1,
238 ASI_BLOCK_SECONDARY = ASI_BLK_S,
239 //0xF2-0xF7 implementation dependent
240 ASI_BLK_PL = 0xF8,
241 ASI_BLOCK_PRIMARY_LITTLE = ASI_BLK_PL,
242 ASI_BLK_SL = 0xF9,
243 ASI_BLOCK_SECONDARY_LITTLE = ASI_BLK_SL,
244 //0xFA-0xFF implementation dependent
39 /* Priveleged ASIs */
40 //0x00-0x03 implementation dependent
41 ASI_NUCLEUS = 0x4,
42 ASI_N = 0x4,
43 //0x05-0x0B implementation dependent
44 ASI_NL = 0xC,
45 ASI_NUCLEUS_LITTLE = ASI_NL,
46 //0x0D-0x0F implementation dependent

--- 191 unchanged lines hidden (view full) ---

238 ASI_BLK_S = 0xF1,
239 ASI_BLOCK_SECONDARY = ASI_BLK_S,
240 //0xF2-0xF7 implementation dependent
241 ASI_BLK_PL = 0xF8,
242 ASI_BLOCK_PRIMARY_LITTLE = ASI_BLK_PL,
243 ASI_BLK_SL = 0xF9,
244 ASI_BLOCK_SECONDARY_LITTLE = ASI_BLK_SL,
245 //0xFA-0xFF implementation dependent
245 ASI_IMPLICIT = 0xFF,
246 MAX_ASI = 0xFF
247 };
248
249 //Functions that classify an asi
250 bool AsiIsBlock(ASI);
251 bool AsiIsPrimary(ASI);
252 bool AsiIsSecondary(ASI);
253 bool AsiIsNucleus(ASI);

--- 21 unchanged lines hidden ---
246 MAX_ASI = 0xFF
247 };
248
249 //Functions that classify an asi
250 bool AsiIsBlock(ASI);
251 bool AsiIsPrimary(ASI);
252 bool AsiIsSecondary(ASI);
253 bool AsiIsNucleus(ASI);

--- 21 unchanged lines hidden ---