1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 60 unchanged lines hidden (view full) --- 69 public: 70 Interrupts() 71 { 72 clear_all(); 73 } 74 75 int InterruptLevel(uint64_t softint) 76 { |
77 panic("Interrupts::InterruptLevel unimplemented!\n"); |
78 return 0; 79 } 80 81 void post(int int_num, int index) 82 { |
83 panic("Interrupts::post unimplemented!\n"); |
84 } 85 86 void clear(int int_num, int index) 87 { |
88 panic("Interrupts::clear unimplemented!\n"); |
89 } 90 91 void clear_all() 92 { |
93 warn("Interrupts::clear_all unimplemented!\n"); |
94 } 95 96 bool check_interrupts(ThreadContext * tc) const 97 { |
98 panic("Interrupts::check_interrupts unimplemented!\n"); |
99 return false; 100 } 101 102 Fault getInterrupt(ThreadContext * tc) 103 { |
104 panic("Interrupts::getInterrupt unimplemented!\n"); |
105 return NoFault; 106 } 107 108 void updateIntrInfo(ThreadContext * tc) 109 { |
110 panic("Interrupts::updateIntrInfo unimplemented!\n"); |
111 } 112 113 uint64_t get_vec(int int_num) 114 { |
115 panic("Interrupts::get_vec unimplemented!\n"); |
116 return 0; 117 } 118 119 void serialize(std::ostream & os) 120 { |
121 panic("Interrupts::serialize unimplemented!\n"); |
122 } 123 124 void unserialize(Checkpoint * cp, const std::string & section) 125 { |
126 panic("Interrupts::unserialize unimplemented!\n"); |
127 } 128}; 129 130}; 131 132#endif // __ARCH_X86_INTERRUPTS_HH__ |