mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[RTL]
- Fix a format specifier [NTOSKRNL] - Add a missing compiler memory barrier to KeIpiGenericCall - Remove a pointless cast svn path=/trunk/; revision=59147
This commit is contained in:
@@ -417,7 +417,8 @@ LdrProcessRelocationBlockLongLong(
|
||||
case IMAGE_REL_BASED_MIPS_JMPADDR:
|
||||
default:
|
||||
DPRINT1("Unknown/unsupported fixup type %hu.\n", Type);
|
||||
DPRINT1("Address %x, Current %u, Count %u, *TypeOffset %x\n", Address, i, Count, SWAPW(*TypeOffset));
|
||||
DPRINT1("Address %p, Current %u, Count %u, *TypeOffset %x\n",
|
||||
(PVOID)Address, i, Count, SWAPW(*TypeOffset));
|
||||
return (PIMAGE_BASE_RELOCATION)NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -228,7 +228,11 @@ KeIpiGenericCall(IN PKIPI_BROADCAST_WORKER Function,
|
||||
&Count);
|
||||
|
||||
/* Spin until the other processors are ready */
|
||||
while ((volatile ULONG)Count != 1) YieldProcessor();
|
||||
while (Count != 1)
|
||||
{
|
||||
YieldProcessor();
|
||||
KeMemoryBarrierWithoutFence();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -248,7 +252,7 @@ KeIpiGenericCall(IN PKIPI_BROADCAST_WORKER Function,
|
||||
if (Affinity)
|
||||
{
|
||||
/* Sanity check */
|
||||
ASSERT(Prcb == (volatile PKPRCB)KeGetCurrentPrcb());
|
||||
ASSERT(Prcb == KeGetCurrentPrcb());
|
||||
|
||||
/* FIXME: TODO */
|
||||
ASSERTMSG("Not yet implemented\n", FALSE);
|
||||
|
||||
Reference in New Issue
Block a user