hw/mips: add Sony PlayStation 2 machine #48
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.36) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 184 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.312
Real PR Conversation Timeline
1 comments
"Review active on #48"
general
weight: 0.35
zevorn
Add a "ps2" machine that boots the meta-playstation2 Linux kernel
(linux-ps2 5.4) and runs its OpenGL library and SDL2 games.
There is no BIOS. QEMU builds a ROM0 with a ROM directory, ROMVER and
empty IOP modules, whose reset code sets Status.EIE and jumps to the
ELF kernel given with -kernel. The IOP runs no code: the SIF answers
the SIF commands and remote procedure calls of the kernel in place of
the IOP modules (heap, module loader, IOP memory access, interrupt
relay), as PCSX2 does with its high-level emulation of the IOP.
The machine has:
- the EE interrupt and DMA controllers, timers and serial port (ttyS0)
- the GS privileged registers, CRT controller and vblank interrupts, and the GIF with PACKED, REGLIST and IMAGE packets; drawing covers points, lines, triangles and sprites, Gouraud shaded, textured with colour lookup tables, fogged, alpha and depth tested and blended, with host to local, local to local and local to host transfers
- VIF1 and a VU1 interpreter, whose XGKICK sends packets to the GS
- the CDVD S-commands for the real time clock and the console model
- the USB OHCI host controller of the IOP, and the DEV9 expansion bay with the SPEED chip and an ATA hard disk
Add the R5900 CPU model, with its Status.EIE master interrupt enable,
64-bit operations in all modes, and the SA register with MFSA, MTSA,
MTSAB and MTSAH, kept in a vmstate subsection.
Signed-off-by: Mig Yang <temashking@foxmail.com>