feat(clusterApp): initial version run in Ubuntu.
change fb to DRM
This commit is contained in:
19
clusterApp/include/InsTask/CduCommunication.h
Normal file
19
clusterApp/include/InsTask/CduCommunication.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef CDUCOMMUNICATION_H_INCLUDED
|
||||
#define CDUCOMMUNICATION_H_INCLUDED
|
||||
|
||||
#include <InsTask.h>
|
||||
|
||||
extern Bool globAppQuit;
|
||||
extern Bool globIpv6_NetworkInstalled;
|
||||
extern volatile UInt32 CduComSrvPnt;
|
||||
|
||||
#ifdef COMPILE_IN_WINDOWS
|
||||
#include <windows.h>
|
||||
|
||||
extern HINSTANCE globHInstance;
|
||||
|
||||
#endif // COMPILE_IN_WINDOWS
|
||||
|
||||
extern const InsTask gCduCommunication;
|
||||
|
||||
#endif // CDUCOMMUNICATION_H_INCLUDED
|
||||
19
clusterApp/include/InsTask/DisplayRender.h
Normal file
19
clusterApp/include/InsTask/DisplayRender.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef DISPLAYRENDER_H_INCLUDED
|
||||
#define DISPLAYRENDER_H_INCLUDED
|
||||
|
||||
#include <InsTask.h>
|
||||
|
||||
extern Bool globAppQuit;
|
||||
|
||||
#ifdef COMPILE_IN_WINDOWS
|
||||
#include <windows.h>
|
||||
|
||||
extern HINSTANCE globHInstance;
|
||||
|
||||
#endif // COMPILE_IN_WINDOWS
|
||||
|
||||
extern void RegisterRenderFuncs(CommonFun RenderFunc, void* argR, CommonFun QuitFunc, void* argQ);
|
||||
extern void RegisterRender2Funcs(CommonFun RenderFunc, void* argR, CommonFun QuitFunc, void* argQ);
|
||||
extern const InsTask gDisplayRender;
|
||||
|
||||
#endif // DISPLAYRENDER_H_INCLUDED
|
||||
18
clusterApp/include/InsTask/MainBoardCommunication.h
Normal file
18
clusterApp/include/InsTask/MainBoardCommunication.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef MAINBOARDCOMMUNICATION_H_INCLUDED
|
||||
#define MAINBOARDCOMMUNICATION_H_INCLUDED
|
||||
|
||||
#include <InsTask.h>
|
||||
|
||||
extern Bool globAppQuit;
|
||||
extern Bool globI2c_PeepBuffer;
|
||||
|
||||
#ifdef COMPILE_IN_WINDOWS
|
||||
#include <windows.h>
|
||||
|
||||
extern HINSTANCE globHInstance;
|
||||
|
||||
#endif // COMPILE_IN_WINDOWS
|
||||
|
||||
extern const InsTask gMainBoardCommunication;
|
||||
|
||||
#endif // MAINBOARDCOMMUNICATION_H_INCLUDED
|
||||
19
clusterApp/include/InsTask/ResourceLoader.h
Normal file
19
clusterApp/include/InsTask/ResourceLoader.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef RESOURCELOADER_H_INCLUDED
|
||||
#define RESOURCELOADER_H_INCLUDED
|
||||
|
||||
#include <InsTask.h>
|
||||
|
||||
typedef struct
|
||||
{
|
||||
UInt16 cntabort; /* 任务因繁忙而被放弃执行的次数 */
|
||||
UInt16 uniformid; /* 任务因繁忙而被放弃执行的次数 */
|
||||
InsTaskState state; /* 任务状态 */
|
||||
CommonFun load; /* 任务的读取方法 */
|
||||
void *argvload; /* 任务的读取方法中所需的参数 */
|
||||
CommonFun response; /* 任务的状态响应方法 */
|
||||
void *argvresponse; /* 任务的状态响应方法中所需的参数 */
|
||||
}RslTaskItem;
|
||||
|
||||
extern const InsTask gResourceLoader;
|
||||
|
||||
#endif // RESOURCELOADER_H_INCLUDED
|
||||
Reference in New Issue
Block a user