Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151788530
D27360.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
875 B
Referenced Files
None
Subscribers
None
D27360.diff
View Options
Index: head/sys/cddl/dev/dtrace/riscv/dtrace_isa.c
===================================================================
--- head/sys/cddl/dev/dtrace/riscv/dtrace_isa.c
+++ head/sys/cddl/dev/dtrace/riscv/dtrace_isa.c
@@ -85,9 +85,9 @@
__asm __volatile("mv %0, sp" : "=&r" (sp));
- state.fp = (uint64_t)__builtin_frame_address(0);
+ state.fp = (uintptr_t)__builtin_frame_address(0);
state.sp = sp;
- state.pc = (uint64_t)dtrace_getpcstack;
+ state.pc = (uintptr_t)dtrace_getpcstack;
while (depth < pcstack_limit) {
if (unwind_frame(&state))
@@ -266,9 +266,9 @@
__asm __volatile("mv %0, sp" : "=&r" (sp));
- state.fp = (uint64_t)__builtin_frame_address(0);
+ state.fp = (uintptr_t)__builtin_frame_address(0);
state.sp = sp;
- state.pc = (uint64_t)dtrace_getstackdepth;
+ state.pc = (uintptr_t)dtrace_getstackdepth;
do {
done = unwind_frame(&state);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 11, 4:41 PM (59 m, 3 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31299067
Default Alt Text
D27360.diff (875 B)
Attached To
Mode
D27360: Use uintptr_t for pointers in stack frames.
Attached
Detach File
Event Timeline
Log In to Comment