Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1197)

Unified Diff: src/trusted/service_runtime/sel_ldr.h

Issue 8825007: Native Client side changes for debugging support: stdout/err -> postmessage. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/trusted/service_runtime/nacl_syscall_common.c ('k') | src/trusted/service_runtime/sel_ldr.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/sel_ldr.h
===================================================================
--- src/trusted/service_runtime/sel_ldr.h (revision 7373)
+++ src/trusted/service_runtime/sel_ldr.h (working copy)
@@ -42,6 +42,7 @@
#include "native_client/src/trusted/service_runtime/nacl_config_dangerous.h"
#include "native_client/src/trusted/service_runtime/nacl_error_code.h"
#include "native_client/src/trusted/service_runtime/nacl_kern_services.h"
+#include "native_client/src/trusted/service_runtime/nacl_resource.h"
#include "native_client/src/trusted/service_runtime/sel_mem.h"
#include "native_client/src/trusted/service_runtime/sel_util.h"
@@ -72,6 +73,11 @@
void (*process_exit_hook)(int exit_status);
};
+enum NaClResourcePhase {
+ NACL_RESOURCE_PHASE_START,
+ NACL_RESOURCE_PHASE_REV_CHAN
+};
+
struct NaClApp {
/*
* public, user settable prior to app start.
@@ -208,6 +214,9 @@
struct NaClManifestProxy *manifest_proxy;
struct NaClKernService *kern_service;
+ struct NaClResourceNaClApp resources;
+ enum NaClResourcePhase resource_phase;
+
struct NaClSecureReverseClient *reverse_client;
enum NaClReverseChannelInitializationState {
NACL_REVERSE_CHANNEL_UNINITIALIZED,
« no previous file with comments | « src/trusted/service_runtime/nacl_syscall_common.c ('k') | src/trusted/service_runtime/sel_ldr.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698