Skip to contentSkip to conversation

How qemu resolve the code cache?

Qemu-devel jie li 1 participant 1 message May 16, 2006

lore
Share & tools
lore

jie li

author
#0 lore raw

As I know that there is difference between accessing data segment and code segment under x86.Because there are cs and ds register to control this. If we do this:
memcpy(datasegment,code segment,size),we will get wrong results. How can I copy some instructions from cs segment to ds segment.How qemu do this ,thx!

___________________________________________________________
雅虎免费邮箱-3.5G容量,20M附件
http://cn.mail.yahoo.com/