Changeset 9187 in vbox for trunk/src/VBox
- Timestamp:
- May 28, 2008 7:31:30 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstInlineAsm.cpp
r9186 r9187 869 869 if ( Buf1.u64Magic1 != UINT64_C(0xffffffffffffffff) 870 870 || Buf1.u64Magic2 != UINT64_C(0xffffffffffffffff) 871 || Buf1.u64Magic1 != UINT64_C(0xffffffffffffffff)872 || Buf1.u64Magic2 != UINT64_C(0xffffffffffffffff)873 871 || Buf2.u64Magic1 != UINT64_C(0xffffffffffffffff) 874 || Buf2.u64Magic2 != UINT64_C(0xffffffffffffffff)) 872 || Buf2.u64Magic2 != UINT64_C(0xffffffffffffffff) 873 || Buf3.u64Magic1 != UINT64_C(0xffffffffffffffff) 874 || Buf3.u64Magic2 != UINT64_C(0xffffffffffffffff)) 875 875 { 876 876 RTPrintf("tstInlineAsm: ASMMemZeroPage violated one/both magic(s)!\n"); … … 883 883 g_cErrors++; 884 884 } 885 for (unsigned i = 0; i < sizeof(Buf 1.abPage); i++)886 if (Buf 1.abPage[i])885 for (unsigned i = 0; i < sizeof(Buf2.abPage); i++) 886 if (Buf2.abPage[i]) 887 887 { 888 888 RTPrintf("tstInlineAsm: ASMMemZeroPage didn't clear byte at offset %#x!\n", i); 889 889 g_cErrors++; 890 890 } 891 for (unsigned i = 0; i < sizeof(Buf 2.abPage); i++)892 if (Buf 2.abPage[i])891 for (unsigned i = 0; i < sizeof(Buf3.abPage); i++) 892 if (Buf3.abPage[i]) 893 893 { 894 894 RTPrintf("tstInlineAsm: ASMMemZeroPage didn't clear byte at offset %#x!\n", i); … … 921 921 if ( Buf1.u64Magic1 != UINT64_C(0xffffffffffffffff) 922 922 || Buf1.u64Magic2 != UINT64_C(0xffffffffffffffff) 923 || Buf1.u64Magic1 != UINT64_C(0xffffffffffffffff)924 || Buf1.u64Magic2 != UINT64_C(0xffffffffffffffff)925 923 || Buf2.u64Magic1 != UINT64_C(0xffffffffffffffff) 926 || Buf2.u64Magic2 != UINT64_C(0xffffffffffffffff)) 924 || Buf2.u64Magic2 != UINT64_C(0xffffffffffffffff) 925 || Buf3.u64Magic1 != UINT64_C(0xffffffffffffffff) 926 || Buf3.u64Magic2 != UINT64_C(0xffffffffffffffff)) 927 927 { 928 928 RTPrintf("tstInlineAsm: ASMMemZero32 violated one/both magic(s)!\n"); … … 985 985 if ( Buf1.u64Magic1 != UINT64_C(0xffffffffffffffff) 986 986 || Buf1.u64Magic2 != UINT64_C(0xffffffffffffffff) 987 || Buf1.u64Magic1 != UINT64_C(0xffffffffffffffff)988 || Buf1.u64Magic2 != UINT64_C(0xffffffffffffffff)989 987 || Buf2.u64Magic1 != UINT64_C(0xffffffffffffffff) 990 || Buf2.u64Magic2 != UINT64_C(0xffffffffffffffff)) 988 || Buf2.u64Magic2 != UINT64_C(0xffffffffffffffff) 989 || Buf3.u64Magic1 != UINT64_C(0xffffffffffffffff) 990 || Buf3.u64Magic2 != UINT64_C(0xffffffffffffffff)) 991 991 { 992 992 RTPrintf("tstInlineAsm: ASMMemFill32 violated one/both magic(s)!\n");
Note:
See TracChangeset
for help on using the changeset viewer.