Transform 'u8' to 'uint8_t'
[openocd.git] / src / jtag / bitq.c
index 83e14e6687190eab62d78d48112384e30a7afc1f..be5e8c73c62f97e4e1e298592971f09825d2c744 100644 (file)
@@ -29,7 +29,7 @@ bitq_interface_t* bitq_interface;       /* low level bit queue interface */
 
 static bitq_state_t      bitq_in_state;        /* state of input queue */
 
-static u8* bitq_in_buffer;                     /* buffer dynamically reallocated as needed */
+static uint8_t* bitq_in_buffer;                     /* buffer dynamically reallocated as needed */
 static int     bitq_in_bufsize = 32; /* min. buffer size */
 
 /*
@@ -40,9 +40,9 @@ static int     bitq_in_bufsize = 32; /* min. buffer size */
 void bitq_in_proc(void)
 {
        /* static information preserved between calls to increase performance */
-       static u8*    in_buff;  /* pointer to buffer for scanned data */
+       static uint8_t*    in_buff;  /* pointer to buffer for scanned data */
        static int    in_idx;   /* index of byte being scanned */
-       static u8     in_mask;  /* mask of next bit to be scanned */
+       static uint8_t     in_mask;  /* mask of next bit to be scanned */
 
        scan_field_t* field;
        int           tdo;
@@ -150,7 +150,7 @@ void bitq_end_state(tap_state_t state)
 void bitq_state_move(tap_state_t new_state)
 {
        int i = 0;
-       u8  tms_scan;
+       uint8_t  tms_scan;
 
        if (!tap_is_state_stable(tap_get_state()) || !tap_is_state_stable(new_state))
        {
@@ -218,8 +218,8 @@ void bitq_scan_field(scan_field_t* field, int pause)
        int bit_cnt;
        int tdo_req;
 
-       u8* out_ptr;
-       u8  out_mask;
+       uint8_t* out_ptr;
+       uint8_t  out_mask;
 
        if (field->in_value)
                tdo_req = 1;

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)