Archives
For someone who is interested in OS and micro-kernel especially L4.
Part 1:
Part 2:
Some friends ask me about the performance of loongson2f. They want to know whether the performance of loongson 2f can surpass Marvell Sheeva CPU. Well I can not just say it's better or worse without giving the benchmark data.
Since there is a benchmark result of Marvell Sheeva CPU, we can run the same benchmark program [...]
It's really a long time since last post. Now I am working on the android mips porting project. I want to run android on the MIPS emulator.
The problem is that when I run mips-android on qemu, it hangs when executing init program in the initramfs root file-system. Then I use the remote gdb to debug [...]
In qemu there is an amazing feature – memory watchpoint. It can watch all the memory access including memory read, write or both of them. When guest os/application touches the memory region watched by qemu, a registered function will be called and you can do everything as you want in this function. The gdb stub [...]
Qemu uses softmmu to accelerate the process of finding the mapping between guest physical address and host virtual address and the mapping between guest I/O region and qemu I/O emulation functions. In this article, I assume the guest page table size is 4K.
1. the two level guest physical page descriptor table
Qemu uses a two level [...]
In qemu, there are two different meanings of target. The first meaning of ‘target’ means the emulated target machine architecture. For example, when emulating mips machine on x86, the target is mips and host is x86. However, in tcg(tiny code generator), target has a different meaning. It means the generated binary architecture. In the example [...]
Xuxian Jiang, Xinyuan Wang, Dongyan Xu, "Stealthy Malware Detection Through VMM-Based 'Out-of-the-Box' Semantic View Reconstruction," Proceedings of the 14th ACM Conference on Computer and Communications Security (CCS 2007), Alexandria, VA, November 2007 (18%).
该文章是 蒋旭宪(Xuxian Jiang)教授发表在 CCS 会议的一篇文章。 CCS 会议是 安全领域顶级的会议之一。
这篇文章是讲述 当前的明星技术-虚拟机,虽然想法不是 开创性的,但是 文章里面还是有一些 创新点,挺有意思。
1. 文章着眼点:
文章的着眼点比较正统:即如何解决 VM 和 guest os 之间的语义差异。当guest os 跑在vm中的时候,vm 能看到的是(1) cpu 状态(寄存器集和interrupt/trap)(2) [...]
Hi guys, it is about one month since posting last blog entry. These days I am really very busy preparing the GRE and Tofel test. Moreover I have to work to support my life. So I have to spend less time on qemu-loongson.
Anyway, there are progress these days.
Rewrite the GPIO I2C emulation for gdium. [...]
I write this article because some guys are talking about it in CLF. The question is: what is the difference between the two following definitions:
A. const char temp[]="abc";
B. const char *temp="abc";
You may have your own answer already. But wait a moment, let me write some test cases first and you can see whether your answer [...]
I think most of you may think it is easy to emulate I2C device in qemu, for qemu has provided a framework of i2c, both the master and slave devices. You are right. Emulating the I2C is not difficult in qemu.
What I want to post here is not emulating I2C device directly, but emulating GPIO [...]
Recent Comments