diff options
author | Richard Purdie <richard@openedhand.com> | 2008-01-28 23:36:55 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-01-28 23:36:55 +0000 |
commit | f1cfdb5072d465447b71b59403a5c9485954b326 (patch) | |
tree | af9e6baa37b62fc378b4d1c44bc8049c65563189 /meta/packages/qemu/qemu-0.9.0+cvs20070613/qemu-amd64-32b-mapping-0.9.0.patch | |
parent | d28ecd2f5393ea32198dc2ff03b94c507831db2d (diff) | |
download | poky-f1cfdb5072d465447b71b59403a5c9485954b326.tar.gz |
qemu: Drop 20070613 version, add gcc-native3 dependency
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3612 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/qemu/qemu-0.9.0+cvs20070613/qemu-amd64-32b-mapping-0.9.0.patch')
-rw-r--r-- | meta/packages/qemu/qemu-0.9.0+cvs20070613/qemu-amd64-32b-mapping-0.9.0.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/packages/qemu/qemu-0.9.0+cvs20070613/qemu-amd64-32b-mapping-0.9.0.patch b/meta/packages/qemu/qemu-0.9.0+cvs20070613/qemu-amd64-32b-mapping-0.9.0.patch deleted file mode 100644 index d9303e3464..0000000000 --- a/meta/packages/qemu/qemu-0.9.0+cvs20070613/qemu-amd64-32b-mapping-0.9.0.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | --- qemu.orig/linux-user/mmap.c | ||
2 | +++ qemu/linux-user/mmap.c | ||
3 | @@ -29,6 +29,10 @@ | ||
4 | |||
5 | //#define DEBUG_MMAP | ||
6 | |||
7 | +#ifndef MAP_32BIT | ||
8 | +#define MAP_32BIT 0 | ||
9 | +#endif | ||
10 | + | ||
11 | /* NOTE: all the constants are the HOST ones, but addresses are target. */ | ||
12 | int target_mprotect(target_ulong start, target_ulong len, int prot) | ||
13 | { | ||
14 | @@ -234,7 +238,7 @@ | ||
15 | host_offset = offset & qemu_host_page_mask; | ||
16 | host_len = len + offset - host_offset; | ||
17 | host_start = (long)mmap(real_start ? g2h(real_start) : NULL, | ||
18 | - host_len, prot, flags, fd, host_offset); | ||
19 | + host_len, prot, (flags | MAP_32BIT), fd, host_offset); | ||
20 | if (host_start == -1) | ||
21 | return host_start; | ||
22 | /* update start so that it points to the file position at 'offset' */ | ||
23 | @@ -388,7 +392,7 @@ | ||
24 | int prot; | ||
25 | |||
26 | /* XXX: use 5 args syscall */ | ||
27 | - new_addr = (long)mremap(g2h(old_addr), old_size, new_size, flags); | ||
28 | + new_addr = (long)mremap(g2h(old_addr), old_size, new_size, (flags | MAP_32BIT)); | ||
29 | if (new_addr == -1) | ||
30 | return new_addr; | ||
31 | new_addr = h2g(new_addr); | ||