空格
1.if, switch, case, for, do, while后有空格
2.sizeof、typeof、alignof或者__attribute__这些关键字之后放空格。例如
s = sizeof(struct file);
3.不要在小括号里的表达式两侧加空格。
4.指针靠近变量名
char *linux_banner;
unsigned long long memparse(char *ptr, char **retptr);
char *match_strdup(substring_t *s);
5.二元和三元操作符两侧使用一个空格,例如下面所有这些操作符:
= + - < > * / % | & ^ <= >= == != ? :
6.一元操作符后不要加空格:
++ -- & * + - ~ ! sizeof typeof alignof __attribute__ defined Astyle -W0
7.“.”和“->”结构体成员操作符前后不加空格。
8.行尾无空格,Astyle可转换
命名
1.不提倡使用大小写的名字,用“_”隔开,例如“count_active_users()”,本地变量名应该简短。
Typedef
1.对结构体和指针不要用typedef
函数
在源文件里,使用空行隔开不同的函数。如果该函数需要被导出,它的EXPORT*宏应该紧贴在它的结束大括号之下。比如:
int system_is_up(void)
{
return system_state == SYSTEM_RUNNING;
}
EXPORT_SYMBOL(system_is_up);
注释
1.用C89“/* ... */”的风格。不用C99风格“// ...”注释。
2.多行注释:
/*
* This is the preferred style for multi-line
* comments in the Linux kernel source code.
* Please use it consistently.
*
* Description: A column of asterisks on the left side,
* with beginning and ending almost-blank lines.
*/
宏,枚举和RTL宏,枚举和RTL
1.定义常量的宏的名字及枚举里的标签需要大写
#define CONSTANT 0x12345
打印,kernel打印不加“.”
RESUME
Personalinformation
Name:
Sex: Female
Cell Phone:
E-mail:
EducationalBackground
Sep 2007 - Jun 2009 North East University
Computer Application Technology Master
Sep 2003 – Jun 2007 Shenyang University of Technology
Math and Application Mathematics Bachelor
WorkExperience
Sep.2011 – Now Hisilicon Technologies Co. Ltd
Software Engineer
K3V2 chip verificationand driver development
Ø HSIC\SOCPverification.
Ø Androidcommunication sub system design and develop.
Ø Linuxdriver develop:
USBdevice develop.
NetworkAdapter develop.
Dec.2008 – Sep.2011 LG Electronics (China) R&D CenterCo. Ltd
Software Engineer
P970s
Ø DevelopSTK/USIM Contacts/SMS features.
Ø Poweron and Power off.
Ø Analyzeand fix issues about RIL or Framework.
GT500s
Ø DevelopAT Command required by factory.
Ø AnalysisCP \IP\RIL logs about MMS\SMS\CS\PS.
Ø Coordinatework with hardware and driver to check problems.
GW880
Ø OMSadapter (between RIL and Modem) development.
Ø PortingAndroid system (RIL and MUX part).
Ø Androidapplication development, such as test tools and engineering model.
Primarydevelopment is in C/C++/Java.
Feb 2008 – Dec.2008 Shenyang NEU Software
Software Engineer
Android application
Ø DCD(DynamicContent Delivery) CMCC customized application.Design and program data manager.
Ø PIM(Personal Information Management) Base on Android Platform Design and programthe UI, integrate project code.
Ø Primary development is inJava.
Skills
Cand C++ 36months
Java 12months
Linux 12months
Havesome knowledge about 3GPP protocol about NAS/ at command/MUX
Fluentin English reading & writing, speaking & listening
Summary
Ø RIL and Framework development: SIMIO/STK/SMS.
Ø Power on\off adapt for Modem
Ø Analysis CP \IP\RIL logs.
Ø OMS adapter (between RIL and Modem)development.
Ø Porting Android system (RIL and MUX part).
Ø Familiar with 3GPP11.14/3GPP 11.11/3GPP27.007/3GPP27.005.
Ø Coordinate work with hardware and driver tocheck problems.
Ø Android application development, such as testtools and engineering model.
Ø Primary development is in C/C++/Java.