HomeFreeBSD

Improve region I/O sub-routines by re-writing most of low level part

Description

Improve region I/O sub-routines by re-writing most of low level part
of AML interpreter.

  • Delete and cleanup a lot of almost duplicated code in kernel/userland.
  • Add new common functions for kernel/userland code. aml_adjust_readvalue(), aml_adjust_updatevalue(), aml_region_handle_alloc(), aml_region_handle_free() and aml_region_io().
  • Add primitive functions for both versions of kernel/userland in order to have shared code as much as possible. aml_region_read_simple(), aml_region_write_simple(), aml_region_prompt_read(), aml_region_prompt_write() and aml_region_prompt_update_value().
  • Consider update rule and access type in field flags. Also add a lot of definitions for the flags.
  • Fix bugs on bit manipulation for read/write operations.
  • Fix bugs on IndexField I/O part. Also add workaround for temporary object corruption during StoreOp interpretation.

Details

Provenance
Mitsuru IWASAKI <iwasaki@FreeBSD.org>Authored on Sep 20 2000, 1:01 AM
Parents
rG857fd445c3d5: If this is a Davicom DM9102A and we're enabling the homePNA link, force
Branches
Unknown
Tags
Unknown

Event Timeline