request.hh (6010:a1e71f3576f8) | request.hh (6076:e141cc7896ce) |
---|---|
1/* 2 * Copyright (c) 2002-2005 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; --- 48 unchanged lines hidden (view full) --- 57 58 public: 59 typedef uint32_t FlagsType; 60 typedef ::Flags<FlagsType> Flags; 61 62 /** ASI information for this request if it exists. */ 63 static const FlagsType ASI_BITS = 0x000000FF; 64 /** The request is a Load locked/store conditional. */ | 1/* 2 * Copyright (c) 2002-2005 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; --- 48 unchanged lines hidden (view full) --- 57 58 public: 59 typedef uint32_t FlagsType; 60 typedef ::Flags<FlagsType> Flags; 61 62 /** ASI information for this request if it exists. */ 63 static const FlagsType ASI_BITS = 0x000000FF; 64 /** The request is a Load locked/store conditional. */ |
65 static const FlagsType LOCKED = 0x00000100; | 65 static const FlagsType LLSC = 0x00000100; |
66 /** The virtual address is also the physical address. */ 67 static const FlagsType PHYSICAL = 0x00000200; 68 /** The request is an ALPHA VPTE pal access (hw_ld). */ 69 static const FlagsType VPTE = 0x00000400; 70 /** Use the alternate mode bits in ALPHA. */ 71 static const FlagsType ALTMODE = 0x00000800; 72 /** The request is to an uncacheable address. */ 73 static const FlagsType UNCACHEABLE = 0x00001000; --- 369 unchanged lines hidden (view full) --- 443 { 444 assert(flags.isSet(VALID_PC)); 445 return pc; 446 } 447 448 /** Accessor Function to Check Cacheability. */ 449 bool isUncacheable() const { return flags.isSet(UNCACHEABLE); } 450 bool isInstRead() const { return flags.isSet(INST_READ); } | 66 /** The virtual address is also the physical address. */ 67 static const FlagsType PHYSICAL = 0x00000200; 68 /** The request is an ALPHA VPTE pal access (hw_ld). */ 69 static const FlagsType VPTE = 0x00000400; 70 /** Use the alternate mode bits in ALPHA. */ 71 static const FlagsType ALTMODE = 0x00000800; 72 /** The request is to an uncacheable address. */ 73 static const FlagsType UNCACHEABLE = 0x00001000; --- 369 unchanged lines hidden (view full) --- 443 { 444 assert(flags.isSet(VALID_PC)); 445 return pc; 446 } 447 448 /** Accessor Function to Check Cacheability. */ 449 bool isUncacheable() const { return flags.isSet(UNCACHEABLE); } 450 bool isInstRead() const { return flags.isSet(INST_READ); } |
451 bool isLocked() const { return flags.isSet(LOCKED); } | 451 bool isLlsc() const { return flags.isSet(LLSC); } |
452 bool isSwap() const { return flags.isSet(MEM_SWAP|MEM_SWAP_COND); } 453 bool isCondSwap() const { return flags.isSet(MEM_SWAP_COND); } 454 455 bool 456 isMisaligned() const 457 { 458 if (flags.isSet(NO_ALIGN_FAULT)) 459 return false; --- 15 unchanged lines hidden --- | 452 bool isSwap() const { return flags.isSet(MEM_SWAP|MEM_SWAP_COND); } 453 bool isCondSwap() const { return flags.isSet(MEM_SWAP_COND); } 454 455 bool 456 isMisaligned() const 457 { 458 if (flags.isSet(NO_ALIGN_FAULT)) 459 return false; --- 15 unchanged lines hidden --- |