摘要: 首先介绍什么是UEFI,下面是官方的介绍: UEFI is a community effort by many companies in the personal-computer industry to modernize the booting process. UEFI capable systems are already shipping, and many more are in preparation. During the transition to UEFI, most platformfirmware will continue to support legac... 阅读全文
posted @ 2013-03-25 00:59 除e尘 阅读(2131) 评论(0) 推荐(0) 编辑
摘要: 在此记录一下c调用汇编,汇编使用的是AT&T语法。例子很简单,就是在给一个整数用汇编转换成二进制。c部分很简单,文件名随便,如main.c:#include <stdio.h>#include <stdlib.h>void decToBin(long dec,char *b); //声明外部汇编函数int main(){ long dec=254; char *bin=(char*)malloc(sizeof(char)*64); decToBin(dec,bin); printf("%s\n",bin); ... 阅读全文
posted @ 2013-03-24 15:18 除e尘 阅读(866) 评论(0) 推荐(1) 编辑