摘要:
#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*)( 阅读全文