OLD | NEW |
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // CPU specific code for arm independent of OS goes here. | 5 // CPU specific code for arm independent of OS goes here. |
6 #ifdef __arm__ | 6 #ifdef __arm__ |
7 #ifdef __QNXNTO__ | 7 #ifdef __QNXNTO__ |
8 #include <sys/mman.h> // for cache flushing. | 8 #include <sys/mman.h> // for cache flushing. |
9 #undef MAP_TYPE | 9 #undef MAP_TYPE |
10 #else | 10 #else |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 " svc 0\n" | 70 " svc 0\n" |
71 | 71 |
72 " pop {r7}\n" | 72 " pop {r7}\n" |
73 : | 73 : |
74 : "r" (beg), "r" (end), "r" (flg), [scno] "i" (__ARM_NR_cacheflush) | 74 : "r" (beg), "r" (end), "r" (flg), [scno] "i" (__ARM_NR_cacheflush) |
75 : "memory"); | 75 : "memory"); |
76 #endif | 76 #endif |
77 #endif | 77 #endif |
78 } | 78 } |
79 | 79 |
80 } } // namespace v8::internal | 80 } // namespace internal |
| 81 } // namespace v8 |
81 | 82 |
82 #endif // V8_TARGET_ARCH_ARM | 83 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |