i8259.cc (8232:b28d06a175be) | i8259.cc (9807:63d7362bbdf2) |
---|---|
1/* 2 * Copyright (c) 2004-2005 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; --- 21 unchanged lines hidden (view full) --- 30 31#include "base/bitfield.hh" 32#include "debug/I8259.hh" 33#include "dev/x86/i82094aa.hh" 34#include "dev/x86/i8259.hh" 35#include "mem/packet.hh" 36#include "mem/packet_access.hh" 37 | 1/* 2 * Copyright (c) 2004-2005 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; --- 21 unchanged lines hidden (view full) --- 30 31#include "base/bitfield.hh" 32#include "debug/I8259.hh" 33#include "dev/x86/i82094aa.hh" 34#include "dev/x86/i8259.hh" 35#include "mem/packet.hh" 36#include "mem/packet_access.hh" 37 |
38X86ISA::I8259::I8259(Params * p) : BasicPioDevice(p), IntDev(this), | 38X86ISA::I8259::I8259(Params * p) : BasicPioDevice(p), IntDevice(this), |
39 latency(p->pio_latency), output(p->output), 40 mode(p->mode), slave(p->slave), 41 IRR(0), ISR(0), IMR(0), 42 readIRR(true), initControlWord(0), autoEOI(false) 43{ 44 for (int i = 0; i < NumLines; i++) 45 pinStates[i] = false; 46 pioSize = 2; --- 301 unchanged lines hidden --- | 39 latency(p->pio_latency), output(p->output), 40 mode(p->mode), slave(p->slave), 41 IRR(0), ISR(0), IMR(0), 42 readIRR(true), initControlWord(0), autoEOI(false) 43{ 44 for (int i = 0; i < NumLines; i++) 45 pinStates[i] = false; 46 pioSize = 2; --- 301 unchanged lines hidden --- |