asi.cc (3823:1c8f87aa103e) | asi.cc (3824:8900576818d7) |
---|---|
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; --- 242 unchanged lines hidden (view full) --- 251 (asi == ASI_CMT_PER_STRAND); 252 } 253 254 bool AsiIsQueue(ASI asi) 255 { 256 return asi == ASI_QUEUE; 257 } 258 | 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; --- 242 unchanged lines hidden (view full) --- 251 (asi == ASI_CMT_PER_STRAND); 252 } 253 254 bool AsiIsQueue(ASI asi) 255 { 256 return asi == ASI_QUEUE; 257 } 258 |
259 bool AsiIsInterrupt(ASI asi) 260 { 261 return asi == ASI_SWVR_INTR_RECEIVE || 262 asi == ASI_SWVR_UDB_INTR_W || 263 asi == ASI_SWVR_UDB_INTR_R ; 264 } 265 |
|
259 bool AsiIsMmu(ASI asi) 260 { 261 return asi == ASI_MMU || 262 asi == ASI_LSU_CONTROL_REG || 263 (asi >= ASI_DMMU_CTXT_ZERO_TSB_BASE_PS0 && 264 asi <= ASI_IMMU_CTXT_ZERO_CONFIG) || 265 (asi >= ASI_DMMU_CTXT_NONZERO_TSB_BASE_PS0 && 266 asi <= ASI_IMMU_CTXT_NONZERO_CONFIG) || --- 28 unchanged lines hidden --- | 266 bool AsiIsMmu(ASI asi) 267 { 268 return asi == ASI_MMU || 269 asi == ASI_LSU_CONTROL_REG || 270 (asi >= ASI_DMMU_CTXT_ZERO_TSB_BASE_PS0 && 271 asi <= ASI_IMMU_CTXT_ZERO_CONFIG) || 272 (asi >= ASI_DMMU_CTXT_NONZERO_TSB_BASE_PS0 && 273 asi <= ASI_IMMU_CTXT_NONZERO_CONFIG) || --- 28 unchanged lines hidden --- |