summaryrefslogtreecommitdiffstats
path: root/chrome/common/nacl_messages.h
diff options
context:
space:
mode:
authormseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-24 18:11:38 +0000
committermseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-24 18:11:38 +0000
commitfb335fe0cf9bce0888dd72b84359e83cc5b08991 (patch)
treeda4a9a8ade30b26eac8d128e2eafe72fc4823b86 /chrome/common/nacl_messages.h
parent2ded2ee298c09a45032fe6cdf8349370f01003d3 (diff)
downloadchromium_src-fb335fe0cf9bce0888dd72b84359e83cc5b08991.zip
chromium_src-fb335fe0cf9bce0888dd72b84359e83cc5b08991.tar.gz
chromium_src-fb335fe0cf9bce0888dd72b84359e83cc5b08991.tar.bz2
NaCl: Make hardware exception handling work on 64-bit Windows
In order to support untrusted hardware exception handling on 64-bit Windows, we need to have a 64-bit process attach as a debugger to the 64-bit NaCl loader process, so we extend the NaCl broker process to do this. The new code in nacl_broker_listener.cc for attaching a 64-bit debugger is similar to the 32-bit code in nacl_process_host.cc. I intend to unify the two in a later change. BUG=http://code.google.com/p/nativeclient/issues/detail?id=2651 TEST=run_inbrowser_exception_test in nacl_integration Review URL: https://chromiumcodereview.appspot.com/9835003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128764 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/nacl_messages.h')
-rw-r--r--chrome/common/nacl_messages.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/common/nacl_messages.h b/chrome/common/nacl_messages.h
index 4a348ce..9ab79c6 100644
--- a/chrome/common/nacl_messages.h
+++ b/chrome/common/nacl_messages.h
@@ -33,6 +33,17 @@ IPC_MESSAGE_CONTROL2(NaClProcessMsg_LoaderLaunched,
std::wstring, /* channel ID for the loader */
base::ProcessHandle /* loader process handle */)
+// Tells the NaCl broker to attach a debug exception handler to the
+// given NaCl loader process.
+IPC_MESSAGE_CONTROL1(NaClProcessMsg_LaunchDebugExceptionHandler,
+ int32 /* pid */)
+
+// Notify the browser process that the broker process finished
+// attaching a debug exception handler to the given NaCl loader
+// process.
+IPC_MESSAGE_CONTROL1(NaClProcessMsg_DebugExceptionHandlerLaunched,
+ int32 /* pid */)
+
// Notify the broker that all loader processes have been terminated and it
// should shutdown.
IPC_MESSAGE_CONTROL0(NaClProcessMsg_StopBroker)