Revert main to working state at c274e74

Revert commits 291f7fa and fc83321. Restore the complete tracked tree at c274e74981 while preserving main history.
This commit is contained in:
Zagitta committed 2026-10-24 02:41:06 +02:00
1 parent 291f7fa289
commit 4189b17711
45 files changed
+914 -2440

No files matched your search

-11
View File
@@ -19,17 +19,6 @@ int main(int argc, char **argv)
u8 rom[4096], image[1280] = {0};
struct gpu_unlock_fwsec fw;
u32 offset;
vbios_fixture_v2(rom);
assert(!gpu_unlock_vbios_fwsec(rom, sizeof(rom), &fw));
assert(fw.version == 2 && fw.image_off == 316 && fw.data_off == 256);
assert(fw.imem_ns_size == 0 && fw.imem_sec_size == 256);
assert(!gpu_unlock_fwsec_patch_frts(rom + fw.image_off, &fw, 0x100000));
for (int field = 0; field < 6; field++) {
const u32 offsets[] = { 264, 268, 276, 292, 296, 304 };
vbios_fixture_v2(rom);
w32(rom + offsets[field], 0xffffffff);
assert(gpu_unlock_vbios_fwsec(rom, sizeof(rom), &fw));
}
for (int stride = 6; stride <= 8; stride += 2) {
vbios_fixture(rom, stride);