|
|
1.1 ! root 1: /* ! 2: * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. ! 3: * ! 4: * AppleI386CPU.h ! 5: * ! 6: * March 6, 2000 jliu ! 7: * Created based on AppleCPU. ! 8: */ ! 9: ! 10: #ifndef _IOKIT_APPLEI386CPU_H ! 11: #define _IOKIT_APPLEI386CPU_H ! 12: ! 13: #include <IOKit/IOCPU.h> ! 14: ! 15: /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ ! 16: ! 17: class AppleI386CPU : public IOCPU ! 18: { ! 19: OSDeclareDefaultStructors(AppleI386CPU); ! 20: ! 21: private: ! 22: IOCPUInterruptController * cpuIC; ! 23: ! 24: public: ! 25: virtual bool start(IOService * provider); ! 26: virtual void initCPU(void); ! 27: virtual OSSymbol * getCPUName(void); ! 28: }; ! 29: ! 30: /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ ! 31: ! 32: class AppleI386CPUInterruptController : public IOCPUInterruptController ! 33: { ! 34: OSDeclareDefaultStructors(AppleI386CPUInterruptController); ! 35: ! 36: public: ! 37: virtual IOReturn handleInterrupt(void * refCon, ! 38: IOService * nub, ! 39: int source); ! 40: }; ! 41: ! 42: #endif /* ! _IOKIT_APPLEI386CPU_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.