Transform 'u8' to 'uint8_t'
[openocd.git] / src / jtag / interface.c
index 059fe322993da503f3438449c95e328dc0db2166..14c626ee9c8bb5e5adb897d760098db6b49b35ba 100644 (file)
@@ -106,8 +106,8 @@ int tap_move_ndx( tap_state_t astate )
  */
 struct tms_sequences
 {
-       u8      bits;
-       u8      bit_count;
+       uint8_t bits;
+       uint8_t bit_count;
 
 };
 
@@ -127,7 +127,7 @@ struct tms_sequences
        +(((x) & 0x0F000000LU)?(1<<6):0) \
        +(((x) & 0xF0000000LU)?(1<<7):0)
 
-#define B8(bits,count)         { ((u8)B8__(HEX__(bits))), (count) }
+#define B8(bits,count)         { ((uint8_t)B8__(HEX__(bits))), (count) }
 
 static const struct tms_sequences old_tms_seqs[6][6] =         /*  [from_state_ndx][to_state_ndx] */
 {
@@ -380,8 +380,8 @@ tap_state_t tap_state_by_name(const char *name)
 tap_state_t jtag_debug_state_machine(const void *tms_buf, const void *tdi_buf,
                unsigned tap_bits, tap_state_t next_state)
 {
-       const u8 *tms_buffer;
-       const u8 *tdi_buffer;
+       const uint8_t *tms_buffer;
+       const uint8_t *tdi_buffer;
        unsigned tap_bytes;
        unsigned cur_byte;
        unsigned cur_bit;
@@ -396,8 +396,8 @@ tap_state_t jtag_debug_state_machine(const void *tms_buf, const void *tdi_buf,
        last_state = next_state;
        DEBUG_JTAG_IO("TAP/SM: START state: %s", tap_state_name(next_state));
 
-       tms_buffer = (const u8 *)tms_buf;
-       tdi_buffer = (const u8 *)tdi_buf;
+       tms_buffer = (const uint8_t *)tms_buf;
+       tdi_buffer = (const uint8_t *)tdi_buf;
 
        tap_bytes = TAP_SCAN_BYTES(tap_bits);
        DEBUG_JTAG_IO("TAP/SM: TMS bits: %u (bytes: %u)", tap_bits, tap_bytes);

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)