Skip to content

Commit d584e18

Browse files
Update changelog for open_protocol_exclusive
1 parent cd11486 commit d584e18

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@
1515
Now you can compare everything that is `AsRef<str>` (such as `String` and `str`
1616
from the standard library) to uefi strings. Please head to the documentation of
1717
`EqStrUntilNul` to find out limitations and further information.
18+
- Added `BootServices::image_handle` to get the handle of the executing
19+
image. The image is set automatically by the `#[entry]` macro; if a
20+
program does not use that macro then it should call
21+
`BootServices::set_image_handle`.
22+
- Added `BootServices::open_protocol_exclusive`. This provides a safe
23+
and convenient subset of `open_protocol` that can be used whenever a
24+
resource doesn't need to be shared. In same cases sharing is useful
25+
(e.g. you might want to draw to the screen using the graphics
26+
protocol, but still allow stdout output to go to the screen as
27+
well), and in those cases `open_protocol` can still be used.
1828

1929
### Changed
2030

0 commit comments

Comments
 (0)