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
F125015291: D6040.id15427.diff
Sat, Aug 2, 10:29 AM
Unknown Object (File)
Jul 3 2025, 6:24 PM
Unknown Object (File)
Jun 26 2025, 2:57 AM
Unknown Object (File)
Jun 25 2025, 6:08 PM
Unknown Object (File)
Jun 20 2025, 3:09 AM
Unknown Object (File)
Jun 19 2025, 4:05 PM
Unknown Object (File)
Jun 18 2025, 2:38 PM
Unknown Object (File)
Jun 17 2025, 12:52 PM
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 Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #15427)

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.