intmessage.hh (6046:8ac37d77fa74) intmessage.hh (6050:852ba59fa8d9)
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,
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,
60 ExtInt = 7,
61 NumModes
62 };
63
64 static const char * const names[NumModes] = {
65 "Fixed", "LowestPriority", "SMI", "Reserved",
61 ExtInt = 7,
62 NumModes
63 };
64
65 static const char * const names[NumModes] = {
66 "Fixed", "LowestPriority", "SMI", "Reserved",
66 "NMI", "INIT", "Reserved", "ExtInt"
67 "NMI", "INIT", "Startup", "ExtInt"
67 };
68
69 static inline bool
70 isReserved(int mode)
71 {
68 };
69
70 static inline bool
71 isReserved(int mode)
72 {
72 return mode == 3 || mode == 6;
73 return mode == 3;
73 }
74 }
75
76 static const Addr TriggerIntOffset = 0;
77
78 static inline PacketPtr
79 prepIntRequest(const uint8_t id, Addr offset, Addr size)
80 {

--- 31 unchanged lines hidden ---
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 ---