rtos: fixes warning
[openocd.git] / src / rtos / linux_header.h
1 /* gdb script to update the header file
2 according to kernel version and build option
3 before executing function awareness
4 kernel symbol must be loaded : symbol vmlinux
5
6 define awareness
7 set logging off
8 set logging file linux_header.h
9 set logging on
10
11 printf "#define QAT %p\n",&((struct task_struct *)(0))->stack
12 set $a=&((struct list_head *)(0))->next
13 set $a=(int)$a+(int)&((struct task_struct *)(0))->tasks
14 printf "#define NEXT %p\n",$a
15 printf "#define COMM %p\n",&((struct task_struct *)(0))->comm
16 printf "#define MEM %p\n",&((struct task_struct *)(0))->mm
17 printf "#define ONCPU %p\n",&((struct task_struct *)(0))->on_cpu
18 printf "#define PID %p\n",&((struct task_struct *)(0))->pid
19 printf "#define CPU_CONT %p\n",&((struct thread_info *)(0))->cpu_context
20 printf "#define PREEMPT %p\n",&((struct thread_info *)(0))->preempt_count
21 printf "#define MM_CTX %p\n",&((struct mm_struct *)(0))->context
22 end
23 */
24 #define QAT 0x4
25 #define NEXT 0x1b0
26 #define COMM 0x2d4
27 #define MEM 0x1cc
28 #define ONCPU 0x18
29 #define PID 0x1f4
30 #define CPU_CONT 0x1c
31 #define PREEMPT 0x4
32 #define MM_CTX 0x160

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)