mirror of
https://github.com/QuixiAI/nvdriver.git
synced 2026-12-06 06:28:39 +00:00
The 620 framing carried one queue element's worth of RPC but validated the length against the R580 limit (0xffd0), so the largest payload the 24-byte header allows (0xffc8, rpc.length 0xffe8) was refused. Derive the 620 limit from `queueElementSizeMax - queueElementHeaderSize` as the closed driver does (`gspMsgQueueGetMaxRpcSize`), and test framing exactly at the limit. `gmcapi::write_message` zeroed its header with a plain store, which LLVM can lower to memset once the module is linked; use the same black_box form as the R580 packer. The NVKV walker branched on "has following words", silently dropping zero-count SEQ*/ARRAY* entries; branch on the opcode instead. Also remove the duplicated oracle fields, correct the 0x18 header size in the framing comments, and update the oracle's own tests for the two accepted 620 releases and the two new probe headers. Co-Authored-By: Codebuff <noreply@codebuff.com>