Index: src/trusted/debug_stub/win/platform_impl.cc |
=================================================================== |
--- src/trusted/debug_stub/win/platform_impl.cc (revision 9590) |
+++ src/trusted/debug_stub/win/platform_impl.cc (working copy) |
@@ -11,6 +11,7 @@ |
#include <exception> |
+#include "native_client/src/include/nacl_compiler_annotations.h" |
#include "native_client/src/shared/platform/nacl_log.h" |
#include "native_client/src/trusted/debug_stub/abi.h" |
#include "native_client/src/trusted/debug_stub/platform.h" |
@@ -47,7 +48,9 @@ |
return true; |
} |
-bool IPlatform::SetMemory(uint64_t virt, uint32_t len, void *src) { |
+bool IPlatform::SetMemory(struct NaClApp* nap, uint64_t virt, uint32_t len, |
Mark Seaborn
2012/08/30 16:55:57
Use the " *" spacing style here
halyavin
2012/08/31 08:01:24
Done.
|
+ void *src) { |
+ UNREFERENCED_PARAMETER(nap); |
uint32_t oldFlags = Reprotect(reinterpret_cast<void*>(virt), |
len, PAGE_EXECUTE_READWRITE); |