摘要:前些一段时间在看WinCE的Code时发现在宏定义中有用到##,如下所示#defineGPEBLT_FUNCNAME(basename)(SCODE(GPE::*)(structGPEBltParms*))&GPE::##basename在#define中,标准只定义了#和##两种操作。#用来把参数转换成字符串,##则用来连接两个前后两个参数,把它们变成一个字符串。1#defineToSt...
阅读全文
摘要:条件断点:断点指令 + “j(Excecute If-Else) 和 gc (Go from Conditional Breakpoint)”形如:bp Address "j (Condition) 'OptionalCommands'; 'gc' "这里仅简单说明该如何写后面的条件语句1. 非结构体变量: Code highlighting produced by Act...
阅读全文
摘要:在需要动态分配数组时,考虑使用vector或string代替数组。大部分情况下,vector或string都可以完全替代Array。但当有性能要求时,基于引用计数实现的string则有可能无法满足要求。多线程环境下,基于引用计数实现的string存在性能隐忧,考虑禁用引用基数或者采用vector代替。 利用reserve(size_t n)减少频繁reallocation...
阅读全文
摘要:Boot CE from HD Supposed: The loadcepc is installed in the C: 1. Make CE support Hard Disk. - Please refer to "CE HD support.txt" written by Bob 2. Set build options - Select Release mode - ...
阅读全文
摘要:Map Registers: translate address Drivers that perform DMA use three different address spaces. Map Registers (for HAL respect): a logical or device address to a physical address (a location in ...
阅读全文
摘要:以前写过一些,不想搬过来了,暂时先放在Blogbus那边了
阅读全文