Page MenuHomeFreeBSD

Optionally return the output capabilities list from _OSC.
ClosedPublic

Authored by jhb on Apr 21 2016, 7:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 22, 3:47 AM
Unknown Object (File)
Sat, Mar 21, 4:05 AM
Unknown Object (File)
Sat, Mar 21, 3:23 AM
Unknown Object (File)
Fri, Mar 20, 3:41 AM
Unknown Object (File)
Tue, Mar 17, 4:38 AM
Unknown Object (File)
Mon, Mar 2, 5:58 AM
Unknown Object (File)
Feb 25 2026, 3:48 AM
Unknown Object (File)
Feb 20 2026, 3:05 AM
Subscribers

Details

Summary

Optionally return the output capabilities list from _OSC.

Both of the callers were expecting the input cap_set to be modified.
This fixes them to request cap_set to be updated with the returned buffer.

Test Plan
  • booted on my laptop (has both PCI and CPU _OSC methods)
  • I added extra debugging to print out the _OSC status, returned buffer length and first word.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3369
Build 3406: arc lint + arc unit

Event Timeline

jhb retitled this revision from to Optionally return the output capabilities list from _OSC..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added a reviewer: jkim.
jkim edited edge metadata.
This revision is now accepted and ready to land.Apr 21 2016, 6:54 PM
sys/dev/acpica/acpi_pcib_acpi.c
328

Please remove this redundant return statement while you're at it.

jhb marked an inline comment as done.Apr 22 2016, 5:50 PM
This revision was automatically updated to reflect the committed changes.