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

Unified Diff: src/trusted/service_runtime/arch/mips/sel_addrspace_mips.c

Issue 11503016: [MIPS] Minor fixes for service runtime. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 8 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/arch/mips/nacl_syscall.S ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/arch/mips/sel_addrspace_mips.c
diff --git a/src/trusted/service_runtime/arch/mips/sel_addrspace_mips.c b/src/trusted/service_runtime/arch/mips/sel_addrspace_mips.c
index a41fcfe7ca020c8aedc2ece7695791e9c9e99d72..b82e901ded66dd3cc1ddd94d37857dba0892251e 100644
--- a/src/trusted/service_runtime/arch/mips/sel_addrspace_mips.c
+++ b/src/trusted/service_runtime/arch/mips/sel_addrspace_mips.c
@@ -1,7 +1,7 @@
/*
- * Copyright 2012 The Native Client Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can
- * be found in the LICENSE file.
+ * Copyright (c) 2012 The Native Client Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
*/
#include "native_client/src/include/nacl_platform.h"
@@ -15,10 +15,12 @@
/* NOTE: This routine is almost identical to the x86_32 version.
*/
-NaClErrorCode NaClAllocateSpace(void **mem, size_t addrsp_size) {
+NaClErrorCode NaClAllocateSpaceAslr(void **mem, size_t addrsp_size,
+ enum NaClAslrMode aslr_mode) {
int result;
void *tmp_mem = (void *) NACL_TRAMPOLINE_START;
+ UNREFERENCED_PARAMETER(aslr_mode);
CHECK(NULL != mem);
/*
« no previous file with comments | « src/trusted/service_runtime/arch/mips/nacl_syscall.S ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698