rust-osdev / rust-osdev/acpi

Support DefDataRegion

Open
#95 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
245
Forks
93
Avg merge
2d 8h
Merged PRs (30d)
15

Description

These are special op regions that actually point to an ACPI table in the RSDT/XSDT. I guess we'll need a method on the handler that asks the OS to retrieve a mapping to the ACPI table, and give us the address to construct a op region from.

  • Parse opcode
  • Create handler method to ask for ACPI table
  • Construct and insert an op region from that info

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the AML opcode parser and the handler code responsible for operation regions. Trace how ACPI tables are accessed, then determine how the handler can retrieve an RSDT/XSDT-referenced table and construct the operation region. Done means the opcode is parsed, the handler provides the table mapping, and the new operation region is inserted.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.