mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
libspark: add remaining misc stuff
Now the standalone lib can be built :-)
Origin commit data
------------------
Branch: master
Commit: 8ae65760bc
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-11 (Sat, 11 Feb 2012)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -23,10 +23,13 @@ if BOXTYPE_SPARK
|
|||||||
SUBDIRS += libspark
|
SUBDIRS += libspark
|
||||||
libstb_hal_a_LIBADD += \
|
libstb_hal_a_LIBADD += \
|
||||||
libspark/audio.o \
|
libspark/audio.o \
|
||||||
|
libspark/ca.o \
|
||||||
libspark/dmx.o \
|
libspark/dmx.o \
|
||||||
libspark/init.o \
|
libspark/init.o \
|
||||||
libspark/irmp.o \
|
libspark/irmp.o \
|
||||||
libspark/lt_dfbinput.o \
|
libspark/lt_dfbinput.o \
|
||||||
libspark/playback.o \
|
libspark/playback.o \
|
||||||
|
libspark/pwrmngr.o \
|
||||||
|
libspark/record.o \
|
||||||
libspark/video.o
|
libspark/video.o
|
||||||
endif
|
endif
|
||||||
|
@@ -8,8 +8,6 @@
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#include <avs/avs_inf.h>
|
|
||||||
|
|
||||||
#define lt_debug(args...) _lt_debug(TRIPLE_DEBUG_PWRMNGR, this, args)
|
#define lt_debug(args...) _lt_debug(TRIPLE_DEBUG_PWRMNGR, this, args)
|
||||||
void cCpuFreqManager::Up(void) { lt_debug("%s\n", __FUNCTION__); }
|
void cCpuFreqManager::Up(void) { lt_debug("%s\n", __FUNCTION__); }
|
||||||
void cCpuFreqManager::Down(void) { lt_debug("%s\n", __FUNCTION__); }
|
void cCpuFreqManager::Down(void) { lt_debug("%s\n", __FUNCTION__); }
|
||||||
@@ -45,6 +43,7 @@ bool cCpuFreqManager::SetCpuFreq(unsigned long f)
|
|||||||
* f == 50000000 => min => standby
|
* f == 50000000 => min => standby
|
||||||
*/
|
*/
|
||||||
lt_debug("%s(%lu) => set standby = %s\n", __FUNCTION__, f, f?"true":"false");
|
lt_debug("%s(%lu) => set standby = %s\n", __FUNCTION__, f, f?"true":"false");
|
||||||
|
#if 0
|
||||||
int fd = open("/dev/stb/tdsystem", O_RDONLY);
|
int fd = open("/dev/stb/tdsystem", O_RDONLY);
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
{
|
{
|
||||||
@@ -65,6 +64,7 @@ bool cCpuFreqManager::SetCpuFreq(unsigned long f)
|
|||||||
}
|
}
|
||||||
|
|
||||||
close(fd);
|
close(fd);
|
||||||
|
#endif
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user