摘要: #include #include #include #include #include #include #include int main(int argc, void** argv) { void* base; int fd, reg; fd = open("/dev/mem", O_RDWR | O_SYNC); if (fd 1) { reg = strtol(argv[1], NULL, 16); printf(">>> %08X is %08X\n", 0x20E0000 + reg, *((unsigned int*)( 阅读全文
posted @ 2014-02-15 11:09 ouuy 阅读(4404) 评论(1) 推荐(0) 编辑