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

Side by Side Diff: src/untrusted/irt/irt_pnacl_translator_link.c

Issue 984713003: Add an IRT interface for subzero/compiler to serve_translate_requests. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: size_t Created 5 years, 9 months 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2015 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 #include "native_client/src/shared/platform/nacl_log.h" 7 #include "native_client/src/shared/platform/nacl_log.h"
8 #include "native_client/src/shared/srpc/nacl_srpc.h" 8 #include "native_client/src/shared/srpc/nacl_srpc.h"
9 #include "native_client/src/untrusted/irt/irt_dev.h" 9 #include "native_client/src/untrusted/irt/irt_dev.h"
10 #include "native_client/src/untrusted/irt/irt_interfaces.h" 10 #include "native_client/src/untrusted/irt/irt_interfaces.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 if (!NaClSrpcModuleInit()) { 48 if (!NaClSrpcModuleInit()) {
49 NaClLog(LOG_FATAL, "NaClSrpcModuleInit() failed\n"); 49 NaClLog(LOG_FATAL, "NaClSrpcModuleInit() failed\n");
50 } 50 }
51 NaClSrpcAcceptClientConnection(srpc_methods); 51 NaClSrpcAcceptClientConnection(srpc_methods);
52 } 52 }
53 53
54 const struct nacl_irt_private_pnacl_translator_link 54 const struct nacl_irt_private_pnacl_translator_link
55 nacl_irt_private_pnacl_translator_link = { 55 nacl_irt_private_pnacl_translator_link = {
56 serve_link_request, 56 serve_link_request,
57 }; 57 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698