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

Issue 11368024: [MIPS] Restore the trusted stack in NaClSyscallSeg. (Closed)

Created:
8 years, 1 month ago by petarj
Modified:
8 years, 1 month ago
Reviewers:
Mark Seaborn
CC:
native-client-reviews_googlegroups.com
Base URL:
http://git.chromium.org/native_client/src/native_client.git@master
Visibility:
Public.

Description

[MIPS] Restore the trusted stack in NaClSyscallSeg. Restore the trusted stack when switching back to the trusted zone. Also, remove the extra frame-header zone. Additional clean-up of code that used to save gp. BUG= http://code.google.com/p/nativeclient/issues/detail?id=2275 TEST= pnacl/build.sh misc-tools Committed: http://src.chromium.org/viewvc/native_client?view=rev&revision=10183

Patch Set 1 #

Total comments: 5

Patch Set 2 : Remove saving of $gp. #

Total comments: 4

Patch Set 3 : One comment added and unused function removed. #

Patch Set 4 : Update Copyright headers. Remote presubmit complained about it. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -59 lines) Patch
M src/trusted/service_runtime/arch/mips/nacl_switch.S View 1 2 3 2 chunks +3 lines, -4 lines 0 comments Download
M src/trusted/service_runtime/arch/mips/nacl_switch_to_app_mips.c View 1 2 chunks +1 line, -6 lines 0 comments Download
M src/trusted/service_runtime/arch/mips/nacl_syscall.S View 1 2 3 5 chunks +19 lines, -12 lines 0 comments Download
M src/trusted/service_runtime/arch/mips/sel_rt.h View 1 2 3 7 chunks +18 lines, -22 lines 0 comments Download
M src/trusted/service_runtime/arch/mips/sel_rt.c View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M src/trusted/service_runtime/linux/mips/sel_segments.c View 1 2 3 2 chunks +3 lines, -11 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
petarj
Issue found by Mark S. Thanks.
8 years, 1 month ago (2012-11-01 01:05:59 UTC) #1
Mark Seaborn
https://codereview.chromium.org/11368024/diff/1/src/trusted/service_runtime/arch/mips/nacl_syscall.S File src/trusted/service_runtime/arch/mips/nacl_syscall.S (left): https://codereview.chromium.org/11368024/diff/1/src/trusted/service_runtime/arch/mips/nacl_syscall.S#oldcode116 src/trusted/service_runtime/arch/mips/nacl_syscall.S:116: /* Reserve 16-byte for arguments (o32 ABI) */ Should ...
8 years, 1 month ago (2012-11-01 01:47:41 UTC) #2
petarj
Second patch has been uploaded. https://chromiumcodereview.appspot.com/11368024/diff/1/src/trusted/service_runtime/arch/mips/nacl_syscall.S File src/trusted/service_runtime/arch/mips/nacl_syscall.S (left): https://chromiumcodereview.appspot.com/11368024/diff/1/src/trusted/service_runtime/arch/mips/nacl_syscall.S#oldcode116 src/trusted/service_runtime/arch/mips/nacl_syscall.S:116: /* Reserve 16-byte for ...
8 years, 1 month ago (2012-11-01 17:06:40 UTC) #3
Mark Seaborn
LGTM https://chromiumcodereview.appspot.com/11368024/diff/1/src/trusted/service_runtime/arch/mips/nacl_syscall.S File src/trusted/service_runtime/arch/mips/nacl_syscall.S (left): https://chromiumcodereview.appspot.com/11368024/diff/1/src/trusted/service_runtime/arch/mips/nacl_syscall.S#oldcode116 src/trusted/service_runtime/arch/mips/nacl_syscall.S:116: /* Reserve 16-byte for arguments (o32 ABI) */ ...
8 years, 1 month ago (2012-11-01 18:01:56 UTC) #4
petarj
https://chromiumcodereview.appspot.com/11368024/diff/10003/src/trusted/service_runtime/arch/mips/nacl_switch_to_app_mips.c File src/trusted/service_runtime/arch/mips/nacl_switch_to_app_mips.c (left): https://chromiumcodereview.appspot.com/11368024/diff/10003/src/trusted/service_runtime/arch/mips/nacl_switch_to_app_mips.c#oldcode46 src/trusted/service_runtime/arch/mips/nacl_switch_to_app_mips.c:46: context->global_ptr = NaClGetGlobalPtr(); On 2012/11/01 18:01:57, Mark Seaborn wrote: ...
8 years, 1 month ago (2012-11-02 12:37:52 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://nativeclient-status.appspot.com/cq/petarj@mips.com/11368024/6002
8 years, 1 month ago (2012-11-02 12:38:11 UTC) #6
commit-bot: I haz the power
Presubmit check for 11368024-6002 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 1 month ago (2012-11-02 12:38:17 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://nativeclient-status.appspot.com/cq/petarj@mips.com/11368024/12004
8 years, 1 month ago (2012-11-02 13:01:41 UTC) #8
commit-bot: I haz the power
Presubmit check for 11368024-12004 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 1 month ago (2012-11-02 13:01:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://nativeclient-status.appspot.com/cq/petarj@mips.com/11368024/12004
8 years, 1 month ago (2012-11-02 14:42:20 UTC) #10
commit-bot: I haz the power
Presubmit check for 11368024-12004 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 1 month ago (2012-11-02 14:42:24 UTC) #11
Mark Seaborn
LGTM
8 years, 1 month ago (2012-11-02 20:20:42 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://nativeclient-status.appspot.com/cq/petarj@mips.com/11368024/12004
8 years, 1 month ago (2012-11-02 20:20:56 UTC) #13
commit-bot: I haz the power
8 years, 1 month ago (2012-11-03 02:58:36 UTC) #14
Change committed as 10183

Powered by Google App Engine
This is Rietveld 408576698