GeezerVison is showing github.com — deps: V8: cherry-pick 9ab40592f697 · nodejs/node@dbd0906
File tree
Expand file treeCollapse file tree
Open diff view settings
deps/v8/src/codegen/riscv
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: common.gypi +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
37 | 37 |
|
38 | 38 | # Reset this number to 0 on major V8 upgrades. |
39 | 39 | # Increment by one for each non-official patch applied to deps/v8. |
40 | | - 'v8_embedder_string': '-node.12', |
| 40 | + 'v8_embedder_string': '-node.13', |
41 | 41 |
|
42 | 42 | ##### V8 defaults for Node.js ##### |
43 | 43 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: deps/v8/src/codegen/riscv/cpu-riscv.cc +2-6Lines changed: 2 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -15,16 +15,12 @@ namespace internal { |
15 | 15 | void CpuFeatures::FlushICache(void* start, size_t size) { |
16 | 16 | #if !defined(USE_SIMULATOR) |
17 | 17 | char* end = reinterpret_cast<char*>(start) + size; |
18 | | - // The definition of this syscall is equal to |
19 | | - // SYSCALL_DEFINE3(riscv_flush_icache, uintptr_t, start, |
20 | | - // uintptr_t, end, uintptr_t, flags) |
21 | | - // The flag here is set to be SYS_RISCV_FLUSH_ICACHE_LOCAL, which is |
22 | | - // defined as 1 in the Linux kernel. |
23 | 18 | // SYS_riscv_flush_icache is a symbolic constant used in user-space code to |
24 | 19 | // identify the flush_icache system call, while __NR_riscv_flush_icache is the |
25 | 20 | // corresponding system call number used in the kernel to dispatch the system |
26 | 21 | // call. |
27 | | - syscall(__NR_riscv_flush_icache, start, end, 1); |
| 22 | + // The flag set to zero will flush all cpu cores. |
| 23 | + syscall(__NR_riscv_flush_icache, start, end, 0); |
28 | 24 | #endif // !USE_SIMULATOR. |
29 | 25 | } |
30 | 26 |
|
|