1#ifndef _IOKIT_TESTIODEVICEMEMORYROSETTA_H_
2#define _IOKIT_TESTIODEVICEMEMORYROSETTA_H_
3
4#include <IOKit/IOService.h>
5#include <IOKit/IOUserClient.h>
6
7#if (DEVELOPMENT || DEBUG) && XNU_TARGET_OS_OSX
8
9class TestIODeviceMemoryRosetta : public IOService {
10 OSDeclareDefaultStructors(TestIODeviceMemoryRosetta);
11
12public:
13 virtual bool start(IOService *provider) override;
14};
15
16class TestIODeviceMemoryRosettaUserClient : public IOUserClient2022 {
17 OSDeclareDefaultStructors(TestIODeviceMemoryRosettaUserClient);
18
19
20public:
21 virtual bool start(IOService * provider) override;
22 virtual IOReturn clientClose() override;
23 IOReturn externalMethod(uint32_t selector, IOExternalMethodArgumentsOpaque * args) override;
24 IOReturn
25 externalMethodDispatched(IOExternalMethodArguments * args);
26};
27
28#endif /* (DEVELOPMENT || DEBUG) && XNU_TARGET_OS_OSX */
29
30#endif /* _IOKIT_TESTIODEVICEMEMORYROSETTA_H_ */
31