|
4 | 4 |
|
5 | 5 | use core::ffi::c_void; |
6 | 6 |
|
7 | | -use crate::{Char8, Char16, Event, Guid, Handle, Status, guid}; |
| 7 | +use crate::{Boolean, Char8, Char16, Event, Guid, Handle, Status, guid}; |
8 | 8 |
|
9 | 9 | use super::device_path::DevicePathProtocol; |
10 | 10 | use super::file_system::FileInfo; |
@@ -58,14 +58,15 @@ pub struct ShellProtocol { |
58 | 58 | pub set_env: unsafe extern "efiapi" fn( |
59 | 59 | name: *const Char16, |
60 | 60 | value: *const Char16, |
61 | | - volatile: bool, |
| 61 | + volatile: Boolean, |
62 | 62 | ) -> Status, |
63 | | - pub get_alias: unsafe extern "efiapi" fn(alias: *const Char16, volatile: bool) -> *const Char16, |
| 63 | + pub get_alias: |
| 64 | + unsafe extern "efiapi" fn(alias: *const Char16, volatile: Boolean) -> *const Char16, |
64 | 65 | pub set_alias: unsafe extern "efiapi" fn( |
65 | 66 | command: *const Char16, |
66 | 67 | alias: *const Char16, |
67 | | - replace: bool, |
68 | | - volatile: bool, |
| 68 | + replace: Boolean, |
| 69 | + volatile: Boolean, |
69 | 70 | ) -> Status, |
70 | 71 | pub get_help_text: unsafe extern "efiapi" fn( |
71 | 72 | command: *const Char16, |
@@ -97,11 +98,11 @@ pub struct ShellProtocol { |
97 | 98 | pub remove_dup_in_file_list: |
98 | 99 | unsafe extern "efiapi" fn(file_list: *const *const ShellFileInfo) -> Status, |
99 | 100 |
|
100 | | - pub batch_is_active: unsafe extern "efiapi" fn() -> bool, |
101 | | - pub is_root_shell: unsafe extern "efiapi" fn() -> bool, |
| 101 | + pub batch_is_active: unsafe extern "efiapi" fn() -> Boolean, |
| 102 | + pub is_root_shell: unsafe extern "efiapi" fn() -> Boolean, |
102 | 103 | pub enable_page_break: unsafe extern "efiapi" fn(), |
103 | 104 | pub disable_page_break: unsafe extern "efiapi" fn(), |
104 | | - pub get_page_break: unsafe extern "efiapi" fn() -> bool, |
| 105 | + pub get_page_break: unsafe extern "efiapi" fn() -> Boolean, |
105 | 106 | pub get_device_name: unsafe extern "efiapi" fn( |
106 | 107 | device_handle: Handle, |
107 | 108 | flags: ShellDeviceNameFlags, |
|
0 commit comments