commit | fd853310a1ebaef257956208165873494bb805dc | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Thu Jul 29 15:11:36 2010 +0300 |
committer | Avi Kivity <avi@redhat.com> | Sun Oct 24 10:50:08 2010 +0200 |
tree | 5bcd3f909d634bbcbd0ecdaf8b0bed630150c2b6 | |
parent | d65b1dee408243daa45110ee494d204508d31657 [diff] |
KVM: x86 emulator: Add wrappers for easily defining opcodes Once 'struct opcode' grows, its initializer will become more complicated. Wrap the simple initializers in a D() macro, and replace the empty initializers with an even simpler N macro. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>