addr2line #define

addr2line定位到string.h:60 是因为是memcpy的宏定义,不是函数调用关系。

 

//从压缩的字体数据表中加载字体数据,解压缩后发送到显示设备的功能 #include <stdio.h> #include <stdlib.h> #include <time.h> #include "types.h" #include "CommonFont.h" #if 0 #define my_printf printf #else #define my_printf #endif #define _JUNO_OSD_ #define FfontStart 0x06 //100907 aoivd overlap with arrow #define MonoFontStart 0x00 #define SpaceFont (MonoFontStart+0x01) #define Saperation_2C (MonoFontStart+0x02) #define TopLine_2C (MonoFontStart+0x03) #define TopBottom_2C (MonoFontStart+0x04) #define BottomLine_2C (MonoFontStart+0x05) #define GaugeSelect_2C (MonoFontStart+0x06) #define GaugeNormal_2C (MonoFontStart+0x07) #define Mark_2C (MonoFontStart+0x08) #define CursorFontStart (Mark_2C+0x01) #define CursorLT_2C (CursorFontStart+0x00) #define CursorTop_2C (CursorFontStart+0x01) #define CursorRT_2C (CursorFontStart+0x02) #define CursorLeft_2C (CursorFontStart+0x03) #define CursorRight_2C (CursorFontStart+0x04) #define CursorLD_2C (CursorFontStart+0x05) #define CursorDown_2C (CursorFontStart+0x06) #define CursorRD_2C (CursorFontStart+0x07) #define NumberFontStart (CursorRD_2C+0x01) #define PropFontAddr1 0x20 #define PropFontAddr2 0x80 #define _4ColorFontStart 0x180 #define SmallLogo_4C _4ColorFontStart #define SmallLogo_Size 39 #define Logo_4C 0x02 #define Logo_Size 120 #define OSD2_A4 0x101DA4 void mStar_LoadCompressedFont(BYTE u8Addr, const WORD *pu16FontPtr, WORD u16Count); void LoadCompressColorFont(const BYTE *pu8FontTbl, WORD *pu16MapPtr, BYTE u8Count); void Osd_LoadCompressColorFont( WORD addr, const BYTE *fontPtr, WORD *mapPtr, BYTE count ) { my_printf ("[%s][%d]: addr=%d; fontPtr=%p; mapPtr=%p; count=%d; \n", __func__, __LINE__, addr, fontPtr, mapPtr, count); LoadCompressColorFont( fontPtr, mapPtr, count ); } extern void Osd_LoadColorPalette256( void ); int main() { printf ("[%s][%d]: Enter\n", __func__, __LINE__
03-26
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

一起搞IT吧

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值