1// 2// AppleARMPE.h 3// AppleARMPlatform 4// 5// Created by rms on 5/21/13. 6// Copyright (c) 2013 rms. All rights reserved. 7// 8 9#ifndef __AppleARMPlatform__AppleARMPE__ 10#define __AppleARMPlatform__AppleARMPE__ 11 12#include <mach/mach_types.h> 13#include <IOKit/IOPlatformExpert.h> 14#include <IOKit/IODeviceTreeSupport.h> 15#include "IOCPU.h" 16 17class AppleARMPE:public IODTPlatformExpert { 18 OSDeclareDefaultStructors(AppleARMPE); 19 public: 20 bool init(OSDictionary * propTable); 21 IOService *probe(IOService * provider, SInt32 * score); 22 bool start(IOService * provider); 23 bool getMachineName(char *name, int maxLength); 24 const char *deleteList(void); 25 const char *excludeList(void); 26 void registerNVRAMController(IONVRAMController * caller); 27 28}; 29 30#define PE_LOG \ 31 IOLog("[%s]: ", __PRETTY_FUNCTION__), IOLog 32 33#endif /* defined(__AppleARMPlatform__AppleARMPE__) */ 34