vdata.c

来自「这是韩国EQUATOR公司提供的DEMO程序」· C语言 代码 · 共 53 行

C
53
字号
/**
*** Copyright (c) 2001 Equator Technologies, Inc.
**/

#include <vlxapi/vlx_data_types.h>

type_sema_struct semaEnd  
__attribute__ ( ( section("data0"), aligned (4) ) ) =
{
    0x1f
   ,0x2f
   ,0x3f
   ,0x4f
};


type_status_struct    status    
__attribute__ ( ( section("data0"), aligned (4) ) );

// Data from core needs to be 8 byte aligned
type_data_from_core_struct data_from_core 
__attribute__ ( ( section("data0"), aligned (4) ) );


type_gb_ds_struct gb_config1 
__attribute__ ( ( section("data0"), aligned (16) ) ) = { 0x0, 0x0, 0x0, 0x0 };

type_gb_ds_struct gb_config2 
__attribute__ ( ( section("data0"), aligned (16) ) ) = { 0x0, 0x0, 0x0, 0x0 };


T_VLX_GB_STATE_BUFFER gb_swap_buffer 
__attribute__ ( ( section("data0"), aligned (16) ) ) =
{
    0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0
};

T_VLX_GB_STATE_BUFFER gb_config_quiescent 
__attribute__ ( ( section("data0"), aligned (16) ) ) =
{
    0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0
};


short debug_buffer[512]
__attribute__ ( ( section("data1"), aligned(16) ) );

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?