Nugget
Loading...
Searching...
No Matches
threads.h
Go to the documentation of this file.
1/*
2
3MIT License
4
5Copyright (c) 2024 PCSX-Redux authors
6
7Permission is hereby granted, free of charge, to any person obtaining a copy
8of this software and associated documentation files (the "Software"), to deal
9in the Software without restriction, including without limitation the rights
10to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11copies of the Software, and to permit persons to whom the Software is
12furnished to do so, subject to the following conditions:
13
14The above copyright notice and this permission notice shall be included in all
15copies or substantial portions of the Software.
16
17THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23SOFTWARE.
24
25*/
26
27#pragma once
28
29#include <stdint.h>
30
46
52
53struct Process {
54 struct Thread* thread;
55};
Definition threads.h:53
struct Thread * thread
Definition threads.h:54
Definition threads.h:31
uint32_t s0
Definition threads.h:36
uint32_t SR
Definition threads.h:43
uint32_t t3
Definition threads.h:35
uint32_t t9
Definition threads.h:37
uint32_t t0
Definition threads.h:35
uint32_t s4
Definition threads.h:36
uint32_t Cause
Definition threads.h:44
uint32_t k1
Definition threads.h:37
uint32_t k0
Definition threads.h:37
uint32_t fp
Definition threads.h:37
uint32_t gp
Definition threads.h:37
union Registers::@4 GPR
uint32_t r0
Definition threads.h:34
uint32_t at
Definition threads.h:34
uint32_t lo
Definition threads.h:42
struct Registers::@4::@5 n
uint32_t hi
Definition threads.h:42
uint32_t t5
Definition threads.h:35
uint32_t sp
Definition threads.h:37
uint32_t t2
Definition threads.h:35
uint32_t s2
Definition threads.h:36
uint32_t a3
Definition threads.h:34
uint32_t s5
Definition threads.h:36
uint32_t returnPC
Definition threads.h:41
uint32_t t1
Definition threads.h:35
uint32_t ra
Definition threads.h:37
uint32_t t7
Definition threads.h:35
uint32_t s1
Definition threads.h:36
uint32_t s7
Definition threads.h:36
uint32_t t6
Definition threads.h:35
uint32_t s3
Definition threads.h:36
uint32_t t8
Definition threads.h:37
uint32_t t4
Definition threads.h:35
uint32_t a1
Definition threads.h:34
uint32_t a2
Definition threads.h:34
uint32_t r[32]
Definition threads.h:39
uint32_t s6
Definition threads.h:36
uint32_t v1
Definition threads.h:34
uint32_t v0
Definition threads.h:34
uint32_t a0
Definition threads.h:34
Definition threads.h:47
struct Registers registers
Definition threads.h:49
uint32_t flags
Definition threads.h:48
uint32_t unknown[9]
Definition threads.h:50
uint32_t flags2
Definition threads.h:48
void uint32_t(classId, spec)