Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/dev/dtrace/arm Use uint32_t instead of u...



details:   https://anonhg.NetBSD.org/src/rev/2f9d9c0f66ea
branches:  trunk
changeset: 327331:2f9d9c0f66ea
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Wed Mar 05 02:00:24 2014 +0000

description:
Use uint32_t instead of u_int32_t

diffstat:

 external/cddl/osnet/dev/dtrace/arm/dtrace_isa.c |  22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diffs (84 lines):

diff -r 3073977905f4 -r 2f9d9c0f66ea external/cddl/osnet/dev/dtrace/arm/dtrace_isa.c
--- a/external/cddl/osnet/dev/dtrace/arm/dtrace_isa.c   Wed Mar 05 00:14:50 2014 +0000
+++ b/external/cddl/osnet/dev/dtrace/arm/dtrace_isa.c   Wed Mar 05 02:00:24 2014 +0000
@@ -68,7 +68,7 @@
 dtrace_getpcstack(pc_t *pcstack, int pcstack_limit, int aframes,
     uint32_t *intrpc)
 {
-       u_int32_t       *frame, *lastframe;
+       uint32_t        *frame, *lastframe;
        int     scp_offset;
        int     depth = 0;
        pc_t caller = (pc_t) solaris_cpu[curcpu].cpu_dtrace_caller;
@@ -78,16 +78,16 @@
 
        aframes++;
 
-       frame = (u_int32_t *)__builtin_frame_address(0);;
+       frame = (uint32_t *)__builtin_frame_address(0);;
        lastframe = NULL;
        scp_offset = -(get_pc_str_offset() >> 2);
 
        while ((frame != NULL) && (depth < pcstack_limit)) {
                db_addr_t       scp;
 #if 0 
-               u_int32_t       savecode;
+               uint32_t        savecode;
                int             r;
-               u_int32_t       *rp;
+               uint32_t        *rp;
 #endif
 
                /*
@@ -109,7 +109,7 @@
                }
 
 #if 0
-               savecode = ((u_int32_t *)scp)[scp_offset];
+               savecode = ((uint32_t *)scp)[scp_offset];
                if ((savecode & 0x0e100000) == 0x08000000) {
                        /* Looks like an STM */
                        rp = frame - 4;
@@ -128,7 +128,7 @@
                        break; /* Top of stack */
 
                lastframe = frame;
-               frame = (u_int32_t *)(frame[FR_RFP]);
+               frame = (uint32_t *)(frame[FR_RFP]);
 
                if (INKERNEL((int)frame)) {
                        /* staying in kernel */
@@ -177,20 +177,20 @@
 int
 dtrace_getstackdepth(int aframes)
 {
-       u_int32_t       *frame, *lastframe;
+       uint32_t        *frame, *lastframe;
        int     scp_offset;
        int     depth = 1;
 
-       frame = (u_int32_t *)__builtin_frame_address(0);;
+       frame = (uint32_t *)__builtin_frame_address(0);;
        lastframe = NULL;
        scp_offset = -(get_pc_str_offset() >> 2);
 
        while (frame != NULL) {
                db_addr_t       scp;
 #if 0 
-               u_int32_t       savecode;
+               uint32_t        savecode;
                int             r;
-               u_int32_t       *rp;
+               uint32_t        *rp;
 #endif
 
                /*
@@ -208,7 +208,7 @@
                        break; /* Top of stack */
 
                lastframe = frame;
-               frame = (u_int32_t *)(frame[FR_RFP]);
+               frame = (uint32_t *)(frame[FR_RFP]);
 
                if (INKERNEL((int)frame)) {
                        /* staying in kernel */



Home | Main Index | Thread Index | Old Index