libtriple: implement init_td_api and shutdown_td_api

provide compatibility with cs_api_init() and cs_api_exit()
This contains a DirectFB wrapper, needed to make the framebuffer
transparent. The framebuffer itself is usable without DFB.
Additionally it sets up the system for a changed RC address in "BIOS".

git-svn-id: http://www.coolstreamtech.de/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@961 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
seife
2010-12-25 17:43:14 +00:00
parent 25e8c83e63
commit d580fcb651
3 changed files with 152 additions and 1 deletions

17
libtriple/init_td.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef __INIT_TD_H
#define __INIT_TD_H
void init_td_api();
void shutdown_td_api();
inline void cs_api_init()
{
init_td_api();
};
inline void cs_api_exit()
{
shutdown_td_api();
};
#define cs_malloc_uncached malloc
#define cs_free_uncached free
#endif