interrupts.hh (3677:a706c4e4aac2) | interrupts.hh (3895:5e8f0e3aeca2) |
---|---|
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; --- 38 unchanged lines hidden (view full) --- 47 public: 48 Interrupts() 49 { 50 memset(interrupts, 0, sizeof(interrupts)); 51 intstatus = 0; 52 newInfoSet = false; 53 } 54 | 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; --- 38 unchanged lines hidden (view full) --- 47 public: 48 Interrupts() 49 { 50 memset(interrupts, 0, sizeof(interrupts)); 51 intstatus = 0; 52 newInfoSet = false; 53 } 54 |
55 void post(int int_type) 56 { 57 // sparc only 58 } 59 |
|
55 void post(int int_num, int index) 56 { 57 DPRINTF(Interrupt, "Interrupt %d:%d posted\n", int_num, index); 58 59 if (int_num < 0 || int_num >= NumInterruptLevels) 60 panic("int_num out of bounds\n"); 61 62 if (index < 0 || index >= sizeof(uint64_t) * 8) --- 107 unchanged lines hidden --- | 60 void post(int int_num, int index) 61 { 62 DPRINTF(Interrupt, "Interrupt %d:%d posted\n", int_num, index); 63 64 if (int_num < 0 || int_num >= NumInterruptLevels) 65 panic("int_num out of bounds\n"); 66 67 if (index < 0 || index >= sizeof(uint64_t) * 8) --- 107 unchanged lines hidden --- |