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

Issue 10810038: [MIPS] Patch for QEMU 0.12.5 for NaCl on MIPS. (Closed)

Created:
8 years, 5 months ago by petarj
Modified:
8 years, 4 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
http://src.chromium.org/native_client/trunk/src/third_party/
Visibility:
Public.

Description

[MIPS] Patch for QEMU 0.12.5 for NaCl on MIPS. The current set in Native Client for MIPS is dependent on QEMU 0.12.5 and this change includes a patch for it. The patch consists of: - support for several syscalls (getcpu, epoll_pwait, ioprio_set, ioprio_get, utimensat, signalfd, eventfd, fallocate, timerfd_create, timerfd_gettime, timerfd_settime, signalfd4, eventfd, epoll_create1, dup3, pipe2, inotify_init1) - fix for pipe issue (return value is in different registers) - fix for sysconf(_SC_OPEN_MAX) issue (clears sign bit which is set by mistake) - fix for ftruncate_64 issue (changes qemu to use same order of parameters as on arm) - fix for pread64 and pwrite64 issues (switches order of offset parameters) - fix for issue with madd.d instruction (segfault issue). The stock qemu was not working for Native Client, so we switched to the version we previously used. The changes have been cherrypicked from the other qemu branch, when we came across known issues. This may not be the smallest possible set of needed changes for NaCl, yet as we plan to switch to QEMU 1.x in future, this will be removed then anyway. BUG= http://code.google.com/p/nativeclient/issues/detail?id=2914 TEST= none

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+494 lines, -0 lines) Patch
A qemu/qemu-0.12.5-mips.patch View 1 chunk +494 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
petarj
Here is a patch for QEMU 0.12.5 for NaCl on MIPS. The patch has been ...
8 years, 5 months ago (2012-07-20 16:01:54 UTC) #1
robertm
Just to confirm, this will go here: native_client/../third_party/qemu/ Could file a bug for the switch ...
8 years, 5 months ago (2012-07-20 16:12:50 UTC) #2
petarj
> Just to confirm, this will go here: > native_client/../third_party/qemu/ I guess I should add ...
8 years, 5 months ago (2012-07-20 16:38:21 UTC) #3
robertm
LGTM On Fri, Jul 20, 2012 at 12:38 PM, <petarj@mips.com> wrote: > Just to confirm, ...
8 years, 5 months ago (2012-07-20 17:55:43 UTC) #4
petarj
On 2012/07/20 17:55:43, robertm wrote: > you may not be able to combine these directories ...
8 years, 5 months ago (2012-07-20 18:18:26 UTC) #5
Robert Muth (chromium)
8 years, 4 months ago (2012-07-30 17:29:39 UTC) #6
This patch can now be found here:

 ../third_party/qemu/qemu-0.12.5.patch_mips 


On 2012/07/20 18:18:26, petarj wrote:
> On 2012/07/20 17:55:43, robertm wrote:
> > you may not be able to combine these directories in one CL,
> > And since I will have to commit this for you anyway,
> > it is fine to keep it here.
> 
> Ok, then I misunderstood your previous comment (in which I thought you would
> like to see it in native_client/src/third_party).
> 
> I did expect to see the patch in third_party/qemu next to arm patch, this is
> why I isolated it and changed base-url.
> 
> > Might be nice to add this to the description.
> 
> Done.
> 
> > I'll try to get this in next week.
> 
> Thanks.

Powered by Google App Engine
This is Rietveld 408576698