xref: /xnu-8796.141.3/tools/tests/testkext/testthreadcall.h (revision 1b191cb58250d0705d8a51287127505aa4bc0789)
1*1b191cb5SApple OSS Distributions /*
2*1b191cb5SApple OSS Distributions  *  testthreadcall.h
3*1b191cb5SApple OSS Distributions  *  testkext
4*1b191cb5SApple OSS Distributions  *
5*1b191cb5SApple OSS Distributions  */
6*1b191cb5SApple OSS Distributions 
7*1b191cb5SApple OSS Distributions #include <IOKit/IOService.h>
8*1b191cb5SApple OSS Distributions #include <IOKit/IOLib.h>
9*1b191cb5SApple OSS Distributions 
10*1b191cb5SApple OSS Distributions class testthreadcall : public IOService {
11*1b191cb5SApple OSS Distributions 	OSDeclareDefaultStructors(testthreadcall);
12*1b191cb5SApple OSS Distributions 
13*1b191cb5SApple OSS Distributions 	virtual bool start( IOService * provider );
14*1b191cb5SApple OSS Distributions 
15*1b191cb5SApple OSS Distributions public:
16*1b191cb5SApple OSS Distributions 	thread_call_t tcall;
17*1b191cb5SApple OSS Distributions 	thread_call_t tcall2;
18*1b191cb5SApple OSS Distributions 	IOSimpleLock *tlock;
19*1b191cb5SApple OSS Distributions 	IOLock       *tlock2;
20*1b191cb5SApple OSS Distributions };
21