You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add BootServices::get_handle_for_protocol
This is a convenience method to get any arbitrary handle that supports a
particular `Protocol`.
* Use open_protocol in shim-lock test
* Use open_protocol in multiprocessor test
* Use open_protocol in device path test
* Use open_protocol in pointer test
* Use open_protocol in graphics test
* Use open_protocol in file system test
* Use open_protocol in the serial device test
* Simplify event callback with context test
Rather than opening the Output protocol, which isn't important for this
test, just write through the context pointer and assert that the
expected data was written.
* Mark handle_protocol as unsafe
This function is already marked deprecated, mark it unsafe as well and
update the documentation to describe why.
* Deprecate BootServices::locate_protocol and mark it unsafe
This method has the same problems as `handle_protocol`; it does not mark
the handle and protocol as in use. Calls to `locate_protocol` can be
replaced by calling `get_handle_for_protocol` and `open_protocol`.
#359
0 commit comments