Buffers passed as arguments get overwritten
まだ誰も着手していません。
評価
調査の方向性
Start by tracing AML method argument handling when Arg0 is assigned a buffer, then compare that behavior with the quoted ACPI specification and the supplied ABCD/T12I example. Add a regression test that checks the returned comparison matches Windows behavior; the issue does not name implementation files or a test entry point, so locate those in the crate first.
索引モデルが issue の本文から書いたものです。
説明
Regarding method arguments, the spec has this line in it, just under table 19.9: "Direct writes to buffer or package ArgX parameters will also simply overwrite ArgX".
Testing on Windows, the following test (called ABCD) returns Ones, whereas on our crate it returns Zero
Name(T12B, Buffer (4) { 0xff, 0xff, 0xff, 0xff })
Method (ABCD) {
T12I(T12B)
Return (T12B == Buffer () { 0xff, 0xff, 0xff, 0xff })
}
Method (T12I, 1) {
Arg0 = Buffer () { 1, 2 }
}
ACPCIA and uACPI appear to match the Windows behaviour.
- 主要言語
- Rust
- スター
- 249
- フォーク
- 102
- 平均マージ
- 4日 18時間
- マージ済み PR(30日)
- 6
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rust-osdev/acpi のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
rust-osdev/acpi#371 · コメント 3 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
rust-osdev/acpi#366 · コメント 3 件 ·
-
Incorrect pkglength can cause panic再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
rust-osdev/acpi#362 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
rust-osdev/acpi#354 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
rust-osdev/acpi#353 ·
rust-osdev/acpi の issue をすべて見る
似ている issue
-
claim
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Nixitov/Riptide-Native#946 ·
メンテナーはふだん 1 日以内に返信
-
area: ai-assistants documentation help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
BetaBots-LLC/latticegate#17 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
storytold/craft-libs#5594 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
听歌识曲历史跳转后对应音源界面无法返回オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
LingyunStudio/RustMusic#16 ·