PCI Express设备驱动 (9,用户态API)
摘要:
提供给用户态程序使用的API函数:/******* api.h *******/#include <sys/types.h>#include <sys/stat.h>#include <stdio.h>#include <fcntl.h>#define u32 unsigned intint PcieOpen();u32 PcieWrite(int fd, void* src_addr, u32 ddr2_offset, u32 num_bytes);u32 PcieRead(int fd, void* dst_addr, u32 ddr2_of 阅读全文
posted @ 2011-08-24 19:54 zzwworld 阅读(1591) 评论(0) 推荐(1)
浙公网安备 33010602011771号