]>
git.saurik.com Git - apple/xnu.git/blob - iokit/Drivers/platform/drvAppleGossamerPE/GossamerCPU.h
fa124093ee88b861d43afbf512fd6370bc203ba6
2 * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
20 * @APPLE_LICENSE_HEADER_END@
23 * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
27 #ifndef _IOKIT_GOSSAMERCPU_H
28 #define _IOKIT_GOSSAMERCPU_H
30 #include <IOKit/IOCPU.h>
31 #include <IOKit/pci/IOPCIBridge.h>
35 class GossamerCPU
: public IOCPU
37 OSDeclareDefaultStructors(GossamerCPU
);
42 IOCPUInterruptController
*cpuIC
;
43 static UInt32 restartAddress
;
45 IOPCI2PCIBridge
*pci2pciBridge
;
46 unsigned long tbLow
, tbHigh
, tbHigh2
;
47 GossamerPE
*gossamerPE
;
49 // callPlatformFunction symbols
50 const OSSymbol
*heathrow_sleepState
;
51 const OSSymbol
*heathrow_set_light
;
52 const OSSymbol
*cuda_check_any_interrupt
;
53 const OSSymbol
*usb_remote_wakeup
;
56 virtual IOService
*findIOInterface(char*);
57 virtual void ipiHandler(void *refCon
, void *nub
, int source
);
60 virtual bool start(IOService
*provider
);
61 virtual void initCPU(bool boot
);
62 virtual void quiesceCPU(void);
63 virtual const OSSymbol
* getCPUName(void);
64 virtual kern_return_t
startCPU(vm_offset_t start_paddr
,
65 vm_offset_t arg_paddr
);
66 virtual void haltCPU(void);
67 virtual void saveTimeBase(bool);
70 #endif /* ! _IOKIT_GOSSAMERCPU_H */