mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 10:22:59 +00:00
[KMTESTS:CC] Add a test to show we map our buffers wrong in CC
That is expected (cf. CORE-14259)
This commit is contained in:
parent
1b9b4c48c9
commit
5d04c691af
1 changed files with 13 additions and 0 deletions
|
@ -255,6 +255,19 @@ PerformTest(
|
||||||
{
|
{
|
||||||
PKTHREAD ThreadHandle;
|
PKTHREAD ThreadHandle;
|
||||||
|
|
||||||
|
#ifdef _X86_
|
||||||
|
/* FIXME: Should be fixed, will fail under certains conditions */
|
||||||
|
ok(TestContext->Buffer > (PVOID)0xC1000000 && TestContext->Buffer < (PVOID)0xDCFFFFFF,
|
||||||
|
"Buffer %p not mapped in system space\n", TestContext->Buffer);
|
||||||
|
#else
|
||||||
|
#ifdef _M_AMD64
|
||||||
|
ok(TestContext->Buffer > (PVOID)0xFFFFF98000000000 && TestContext->Buffer < (PVOID)0xFFFFFA8000000000,
|
||||||
|
"Buffer %p not mapped in system space\n", TestContext->Buffer);
|
||||||
|
#else
|
||||||
|
skip(FALSE, "System space mapping not defined\n");
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
TestContext->Length = FileSizes.FileSize.QuadPart - Offset.QuadPart;
|
TestContext->Length = FileSizes.FileSize.QuadPart - Offset.QuadPart;
|
||||||
ThreadHandle = KmtStartThread(MapInAnotherThread, TestContext);
|
ThreadHandle = KmtStartThread(MapInAnotherThread, TestContext);
|
||||||
KmtFinishThread(ThreadHandle, NULL);
|
KmtFinishThread(ThreadHandle, NULL);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue