From: Andy G. <ag...@us...> - 2002-11-20 03:18:49
|
Update of /cvsroot/acpi/ospmd/ospmd/ospmd In directory sc8-pr-cvs1:/tmp/cvs-serv8945/ospmd/ospmd Modified Files: acpi_interface.cpp acpi_interface.h apm_interface.cpp apm_interface.h ospmd.cpp ospmd.h Log Message: change function names for thermal-related funcs Index: acpi_interface.cpp =================================================================== RCS file: /cvsroot/acpi/ospmd/ospmd/ospmd/acpi_interface.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- acpi_interface.cpp 9 Oct 2002 20:54:15 -0000 1.3 +++ acpi_interface.cpp 20 Nov 2002 03:18:46 -0000 1.4 @@ -1040,7 +1040,7 @@ } int -acpi_interface::thermal_get_data (PM_THERMAL_DATA* thermal_data) +acpi_interface::get_thermal_info (PM_THERMAL_DATA* thermal_data) { DIR* dir; struct dirent *entry; Index: acpi_interface.h =================================================================== RCS file: /cvsroot/acpi/ospmd/ospmd/ospmd/acpi_interface.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- acpi_interface.h 8 Oct 2002 22:05:26 -0000 1.2 +++ acpi_interface.h 20 Nov 2002 03:18:46 -0000 1.3 @@ -180,7 +180,7 @@ virtual int get_processor_perf_info(PROCESSOR_PERF_INFO* proc_perf_info); virtual int set_processor_state(PROCESSOR_PERF* state); virtual int sleep(sleep_types type); - virtual int thermal_get_data (PM_THERMAL_DATA* thermal_data); + virtual int get_thermal_info(PM_THERMAL_DATA* thermal_data); private: Index: apm_interface.cpp =================================================================== RCS file: /cvsroot/acpi/ospmd/ospmd/ospmd/apm_interface.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- apm_interface.cpp 8 Oct 2002 22:05:26 -0000 1.2 +++ apm_interface.cpp 20 Nov 2002 03:18:46 -0000 1.3 @@ -360,7 +360,7 @@ } int -apm_interface::thermal_get_data (PM_THERMAL_DATA* thermal_data) +apm_interface::get_thermal_info (PM_THERMAL_DATA* thermal_data) { thermal_data->cooling_mode = 0; thermal_data->polling_frequency = 0; Index: apm_interface.h =================================================================== RCS file: /cvsroot/acpi/ospmd/ospmd/ospmd/apm_interface.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- apm_interface.h 8 Oct 2002 22:05:26 -0000 1.2 +++ apm_interface.h 20 Nov 2002 03:18:46 -0000 1.3 @@ -174,7 +174,7 @@ virtual int get_processor_perf_info(PROCESSOR_PERF_INFO* proc_perf_info); virtual int set_processor_state(PROCESSOR_PERF* state); virtual int sleep(sleep_types type); - virtual int thermal_get_data (PM_THERMAL_DATA *thermal_data); + virtual int get_thermal_info(PM_THERMAL_DATA *thermal_data); private: Index: ospmd.cpp =================================================================== RCS file: /cvsroot/acpi/ospmd/ospmd/ospmd/ospmd.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- ospmd.cpp 20 Nov 2002 02:44:44 -0000 1.4 +++ ospmd.cpp 20 Nov 2002 03:18:46 -0000 1.5 @@ -818,9 +818,9 @@ ospmd_return_data(fd, res, action, &sdout.data.proc_info, sizeof(sdout.data.proc_info)); break; - case OSPM_ACTION_THERMAL_GET_DATA: + case OSPM_ACTION_THERMAL_GET: OSPMD_DBG(OSPM_INFO, "Client wants to get thermal data\n"); - res = pm_iface->thermal_get_data (&sdout.data.thermal_data); + res = pm_iface->get_thermal_info (&sdout.data.thermal_data); ospmd_return_data (fd, res, action, &sdout.data.thermal_data, sizeof(sdout.data.thermal_data)); break; Index: ospmd.h =================================================================== RCS file: /cvsroot/acpi/ospmd/ospmd/ospmd/ospmd.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- ospmd.h 8 Oct 2002 22:05:26 -0000 1.2 +++ ospmd.h 20 Nov 2002 03:18:46 -0000 1.3 @@ -211,7 +211,7 @@ virtual int get_processor_perf_info(PROCESSOR_PERF_INFO* proc_perf_info) = 0; virtual int set_processor_state(PROCESSOR_PERF* state) = 0; virtual int sleep(sleep_types type) = 0; - virtual int thermal_get_data (PM_THERMAL_DATA* thermal_data) = 0; + virtual int get_thermal_info (PM_THERMAL_DATA* thermal_data) = 0; }; /* |