1/* 2 * Copyright (c) 2008 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; --- 43 unchanged lines hidden (view full) --- 52 namespace DeliveryMode 53 { 54 enum IntDeliveryMode { 55 Fixed = 0, 56 LowestPriority = 1, 57 SMI = 2, 58 NMI = 4, 59 INIT = 5, |
60 SIPI = 6, |
61 ExtInt = 7, 62 NumModes 63 }; 64 65 static const char * const names[NumModes] = { 66 "Fixed", "LowestPriority", "SMI", "Reserved", |
67 "NMI", "INIT", "Startup", "ExtInt" |
68 }; 69 70 static inline bool 71 isReserved(int mode) 72 { |
73 return mode == 3; |
74 } 75 } 76 77 static const Addr TriggerIntOffset = 0; 78 79 static inline PacketPtr 80 prepIntRequest(const uint8_t id, Addr offset, Addr size) 81 { --- 31 unchanged lines hidden --- |