diff options
author | RajithaY <rajithax.yerrumsetty@intel.com> | 2017-04-25 03:31:15 -0700 |
---|---|---|
committer | Rajitha Yerrumchetty <rajithax.yerrumsetty@intel.com> | 2017-05-22 06:48:08 +0000 |
commit | bb756eebdac6fd24e8919e2c43f7d2c8c4091f59 (patch) | |
tree | ca11e03542edf2d8f631efeca5e1626d211107e3 /qemu/tests/tcg/test-i386-code16.S | |
parent | a14b48d18a9ed03ec191cf16b162206998a895ce (diff) |
Adding qemu as a submodule of KVMFORNFV
This Patch includes the changes to add qemu as a submodule to
kvmfornfv repo and make use of the updated latest qemu for the
execution of all testcase
Change-Id: I1280af507a857675c7f81d30c95255635667bdd7
Signed-off-by:RajithaY<rajithax.yerrumsetty@intel.com>
Diffstat (limited to 'qemu/tests/tcg/test-i386-code16.S')
-rw-r--r-- | qemu/tests/tcg/test-i386-code16.S | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/qemu/tests/tcg/test-i386-code16.S b/qemu/tests/tcg/test-i386-code16.S deleted file mode 100644 index 816c24b96..000000000 --- a/qemu/tests/tcg/test-i386-code16.S +++ /dev/null @@ -1,79 +0,0 @@ - .code16 - .globl code16_start - .globl code16_end - -CS_SEG = 0xf - -code16_start: - - .globl code16_func1 - - /* basic test */ -code16_func1 = . - code16_start - mov $1, %eax - data32 lret - -/* test push/pop in 16 bit mode */ - .globl code16_func2 -code16_func2 = . - code16_start - xor %eax, %eax - mov $0x12345678, %ebx - movl %esp, %ecx - push %bx - subl %esp, %ecx - pop %ax - data32 lret - -/* test various jmp opcodes */ - .globl code16_func3 -code16_func3 = . - code16_start - jmp 1f - nop -1: - mov $4, %eax - mov $0x12345678, %ebx - xor %bx, %bx - jz 2f - add $2, %ax -2: - - call myfunc - - lcall $CS_SEG, $(myfunc2 - code16_start) - - ljmp $CS_SEG, $(myjmp1 - code16_start) -myjmp1_next: - - cs lcall *myfunc2_addr - code16_start - - cs ljmp *myjmp2_addr - code16_start -myjmp2_next: - - data32 lret - -myfunc2_addr: - .short myfunc2 - code16_start - .short CS_SEG - -myjmp2_addr: - .short myjmp2 - code16_start - .short CS_SEG - -myjmp1: - add $8, %ax - jmp myjmp1_next - -myjmp2: - add $16, %ax - jmp myjmp2_next - -myfunc: - add $1, %ax - ret - -myfunc2: - add $4, %ax - lret - - -code16_end: |