1#ifndef _EST_H 2#define _EST_H 3 4#include <KernelExport.h> 5#include <ACPI.h> 6 7#include "frequency.h" 8 9// Model Specific Register 10#define MSR_MISC 0x1a0 11#define MSR_EST_ENABLED (1<<16) 12 13 14struct est_cookie { 15 // this three variables are not needed yet but helpfull when extend this 16 // driver to use acpi 17 device_node *node; 18 acpi_device_module_info *acpi; 19 acpi_device acpi_cookie; 20 21 // array of states don't delete it 22 freq_info* available_states; 23 uint8 number_states; 24 25 vint32 stop_watching; 26}; 27 28 29#endif /* _EST_H */ 30