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

Issue 10826171: Incorporate shimming into the irt (Closed)

Created:
8 years, 4 months ago by Robert Muth (chromium)
Modified:
8 years, 3 months ago
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Merge shimming into the irt. This CL moves the functionality from src/untrusted/pnacl_irt_shim to src/untrusted/irt but does not delete the former yet. The changes are kept minimal and no attempt was made to simplify the shimming process. In order to activate the irt based shimming nexe module calls to GetInterface("nacl-irt-ppapihook-0.1") need to be changed into GetInterface("nacl-irt-ppapihook-shimmed-0.1") This can be done via another mini-shim which will added in a subsequent CL. BUG= http://code.google.com/p/nativeclient/issues/detail?id=2465 TEST= trybots

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Total comments: 10

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Total comments: 4

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : #

Patch Set 17 : #

Patch Set 18 : #

Patch Set 19 : #

Patch Set 20 : #

Total comments: 13

Patch Set 21 : #

Total comments: 52

Patch Set 22 : #

Patch Set 23 : #

Patch Set 24 : #

Total comments: 9

Patch Set 25 : #

Patch Set 26 : #

Total comments: 14

Patch Set 27 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -2 lines) Patch
M src/untrusted/irt/irt_interfaces.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -0 lines 0 comments Download
M src/untrusted/irt/irt_interfaces.c View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +8 lines, -0 lines 0 comments Download
M src/untrusted/irt/irt_ppapi.c View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +69 lines, -0 lines 0 comments Download
A src/untrusted/irt/irt_shim.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +16 lines, -0 lines 0 comments Download
M src/untrusted/irt/nacl.scons View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 3 chunks +32 lines, -2 lines 0 comments Download
A src/untrusted/irt/shim_dummy.c View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +36 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Robert Muth (chromium)
This is not quite done yet, e.g. the gyp changes from Jan's CL: http://codereview.chromium.org/8873035/ need ...
8 years, 4 months ago (2012-08-06 23:18:12 UTC) #1
Mark Seaborn
http://codereview.chromium.org/10826171/diff/2005/src/untrusted/nacl/nacl_irt.c File src/untrusted/nacl/nacl_irt.c (right): http://codereview.chromium.org/10826171/diff/2005/src/untrusted/nacl/nacl_irt.c#newcode104 src/untrusted/nacl/nacl_irt.c:104: /* __libnacl_mandatory_irt_query("@nacl-cc-shim-mode", NULL, 0); */ This is not an ...
8 years, 4 months ago (2012-08-06 23:30:29 UTC) #2
Roland McGrath
This also needs a clear plan for how the implementation in the new proxy will ...
8 years, 4 months ago (2012-08-06 23:32:24 UTC) #3
Robert Muth (chromium)
PTAL still working on the gyp integration http://codereview.chromium.org/10826171/diff/2005/src/untrusted/irt/irt_interfaces.c File src/untrusted/irt/irt_interfaces.c (right): http://codereview.chromium.org/10826171/diff/2005/src/untrusted/irt/irt_interfaces.c#newcode56 src/untrusted/irt/irt_interfaces.c:56: if (interface_ident[0] ...
8 years, 4 months ago (2012-08-07 14:45:40 UTC) #4
jvoung (off chromium)
http://codereview.chromium.org/10826171/diff/10031/src/untrusted/irt/irt_interfaces.c File src/untrusted/irt/irt_interfaces.c (right): http://codereview.chromium.org/10826171/diff/10031/src/untrusted/irt/irt_interfaces.c#newcode39 src/untrusted/irt/irt_interfaces.c:39: { NACL_IRT_CONTROL_v0_1, &nacl_irt_control, sizeof(nacl_irt_control) }, missing file for this? ...
8 years, 4 months ago (2012-08-07 15:33:10 UTC) #5
Robert Muth (chromium)
Add gyp support and addressed various concerns Gyp support was heavily borrowed from Jan's CLs ...
8 years, 4 months ago (2012-08-09 19:37:30 UTC) #6
Robert Muth (chromium)
ping On 2012/08/09 19:37:30, Robert Muth (chromium) wrote: > Add gyp support and addressed various ...
8 years, 4 months ago (2012-08-20 23:18:34 UTC) #7
Use chromium.org instead
We discussed this here a few weeks ago and agreed on what we think the ...
8 years, 4 months ago (2012-08-21 20:21:56 UTC) #8
Robert Muth (chromium)
PTAL
8 years, 3 months ago (2012-08-27 17:04:13 UTC) #9
jvoung (off chromium)
some nits -- perhaps Mark or Roland can comment about the earlier concerns http://codereview.chromium.org/10826171/diff/24003/build/gyp_glob.py File ...
8 years, 3 months ago (2012-08-27 21:53:58 UTC) #10
Nick Bray (chromium)
https://chromiumcodereview.appspot.com/10826171/diff/24003/src/untrusted/irt/irt.gyp File src/untrusted/irt/irt.gyp (right): https://chromiumcodereview.appspot.com/10826171/diff/24003/src/untrusted/irt/irt.gyp#newcode55 src/untrusted/irt/irt.gyp:55: 'target_name': 'irt_core_common', Instead of having the core irt depend ...
8 years, 3 months ago (2012-08-27 23:00:01 UTC) #11
Robert Muth (chromium)
As per a discussion with Nick Bray, removed all the gyp changes. The plan is ...
8 years, 3 months ago (2012-08-28 14:18:01 UTC) #12
Mark Seaborn
https://chromiumcodereview.appspot.com/10826171/diff/24003/src/untrusted/irt/irt_interfaces.c File src/untrusted/irt/irt_interfaces.c (right): https://chromiumcodereview.appspot.com/10826171/diff/24003/src/untrusted/irt/irt_interfaces.c#newcode36 src/untrusted/irt/irt_interfaces.c:36: { NACL_IRT_PPAPIHOOK_SHIMMED_v0_1, &nacl_irt_ppapihook_shimmed, On 2012/08/27 23:00:02, Nick Bray (chromium) ...
8 years, 3 months ago (2012-08-28 15:51:20 UTC) #13
Robert Muth (chromium)
PTAL https://chromiumcodereview.appspot.com/10826171/diff/24003/src/untrusted/irt/irt_interfaces.c File src/untrusted/irt/irt_interfaces.c (right): https://chromiumcodereview.appspot.com/10826171/diff/24003/src/untrusted/irt/irt_interfaces.c#newcode36 src/untrusted/irt/irt_interfaces.c:36: { NACL_IRT_PPAPIHOOK_SHIMMED_v0_1, &nacl_irt_ppapihook_shimmed, we will likely get link ...
8 years, 3 months ago (2012-08-28 18:13:29 UTC) #14
Mark Seaborn
https://chromiumcodereview.appspot.com/10826171/diff/35001/src/untrusted/irt/irt.h File src/untrusted/irt/irt.h (right): https://chromiumcodereview.appspot.com/10826171/diff/35001/src/untrusted/irt/irt.h#newcode151 src/untrusted/irt/irt.h:151: #define NACL_IRT_PPAPIHOOK_SHIMMED_v0_1 "nacl-irt-ppapihook-shimmed-0.1" On 2012/08/28 18:13:30, Robert Muth (chromium) ...
8 years, 3 months ago (2012-08-28 18:57:06 UTC) #15
Robert Muth (chromium)
PTAL https://chromiumcodereview.appspot.com/10826171/diff/35001/src/untrusted/irt/irt.h File src/untrusted/irt/irt.h (right): https://chromiumcodereview.appspot.com/10826171/diff/35001/src/untrusted/irt/irt.h#newcode151 src/untrusted/irt/irt.h:151: #define NACL_IRT_PPAPIHOOK_SHIMMED_v0_1 "nacl-irt-ppapihook-shimmed-0.1" On 2012/08/28 18:57:06, Mark Seaborn ...
8 years, 3 months ago (2012-08-28 20:22:46 UTC) #16
Mark Seaborn
https://chromiumcodereview.appspot.com/10826171/diff/35025/src/untrusted/irt/irt_interfaces.c File src/untrusted/irt/irt_interfaces.c (right): https://chromiumcodereview.appspot.com/10826171/diff/35025/src/untrusted/irt/irt_interfaces.c#newcode34 src/untrusted/irt/irt_interfaces.c:34: /* @IGNORE_LINES_FOR_CODE_HYGIENE[1] */ Please indent by 2 spaces to ...
8 years, 3 months ago (2012-08-28 20:41:00 UTC) #17
robertm
I escalated the NACL_IRT_PPAPIHOOK_SHIMMED_v0_1 to sehr, or PTAL On 2012/08/28 20:41:00, Mark Seaborn wrote: > ...
8 years, 3 months ago (2012-08-28 21:17:42 UTC) #18
Mark Seaborn
https://chromiumcodereview.appspot.com/10826171/diff/35025/src/untrusted/irt/irt_interfaces.c File src/untrusted/irt/irt_interfaces.c (right): https://chromiumcodereview.appspot.com/10826171/diff/35025/src/untrusted/irt/irt_interfaces.c#newcode34 src/untrusted/irt/irt_interfaces.c:34: /* @IGNORE_LINES_FOR_CODE_HYGIENE[1] */ On 2012/08/28 20:41:00, Mark Seaborn wrote: ...
8 years, 3 months ago (2012-08-28 21:32:00 UTC) #19
Robert Muth (chromium)
quick update: there is some controversy regarding the status of "nacl-irt-ppapihook-shimmed-0.1" and whether it is ...
8 years, 3 months ago (2012-08-28 23:16:01 UTC) #20
Robert Muth (chromium)
8 years, 3 months ago (2012-08-29 18:33:04 UTC) #21
We decided to simply migrate the exisiting shim build to the chrome tree and add
a shim dummy to the pnacl toolchain build which later
will get overwritten by the sdk creation process with the real shim.

On 2012/08/28 23:16:01, Robert Muth (chromium) wrote:
> quick update:
> 
> there is some controversy regarding the
> status of  "nacl-irt-ppapihook-shimmed-0.1"
> and whether it is ok to use this interface
> from a regular nexe.
> 
> This will hopefully be resolved offline soon.

Powered by Google App Engine
This is Rietveld 408576698