html-to-markdown 2.27.2 → 2.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +8 -8
  3. data/ext/html-to-markdown-rb/native/Cargo.toml +1 -1
  4. data/ext/html-to-markdown-rb/native/src/conversion/mod.rs +6 -0
  5. data/ext/html-to-markdown-rb/native/src/conversion/tables.rs +71 -0
  6. data/ext/html-to-markdown-rb/native/src/lib.rs +27 -1
  7. data/lib/html_to_markdown/version.rb +1 -1
  8. data/lib/html_to_markdown.rb +29 -0
  9. data/rust-vendor/getrandom/.cargo-checksum.json +1 -1
  10. data/rust-vendor/getrandom/.cargo_vcs_info.json +1 -1
  11. data/rust-vendor/getrandom/CHANGELOG.md +62 -43
  12. data/rust-vendor/getrandom/Cargo.lock +49 -56
  13. data/rust-vendor/getrandom/Cargo.toml +2 -2
  14. data/rust-vendor/getrandom/Cargo.toml.orig +2 -2
  15. data/rust-vendor/getrandom/src/backends/efi_rng.rs +8 -10
  16. data/rust-vendor/getrandom/src/backends/getentropy.rs +13 -4
  17. data/rust-vendor/getrandom/src/backends/linux_android_with_fallback.rs +10 -25
  18. data/rust-vendor/getrandom/src/backends/netbsd.rs +17 -25
  19. data/rust-vendor/getrandom/src/backends/rdrand.rs +15 -9
  20. data/rust-vendor/getrandom/src/backends/rndr.rs +2 -1
  21. data/rust-vendor/getrandom/src/backends/vxworks.rs +7 -3
  22. data/rust-vendor/getrandom/src/backends/windows.rs +21 -5
  23. data/rust-vendor/getrandom/src/utils/lazy_bool.rs +39 -0
  24. data/rust-vendor/getrandom/src/utils/lazy_ptr.rs +57 -0
  25. data/rust-vendor/html-to-markdown-rs/Cargo.toml +2 -2
  26. data/rust-vendor/html-to-markdown-rs/README.md +29 -0
  27. data/rust-vendor/html-to-markdown-rs/src/convert_api.rs +368 -0
  28. data/rust-vendor/html-to-markdown-rs/src/converter/main.rs +10 -5
  29. data/rust-vendor/html-to-markdown-rs/src/converter/text_node.rs +2 -1
  30. data/rust-vendor/html-to-markdown-rs/src/lib.rs +3 -0
  31. data/rust-vendor/html-to-markdown-rs/src/prelude.rs +3 -0
  32. data/rust-vendor/html-to-markdown-rs/tests/issue_216_217_regressions.rs +82 -0
  33. data/rust-vendor/quote/.cargo-checksum.json +1 -1
  34. data/rust-vendor/quote/.cargo_vcs_info.json +1 -1
  35. data/rust-vendor/quote/.github/workflows/ci.yml +2 -2
  36. data/rust-vendor/quote/Cargo.lock +21 -21
  37. data/rust-vendor/quote/Cargo.toml +2 -2
  38. data/rust-vendor/quote/Cargo.toml.orig +2 -2
  39. data/rust-vendor/quote/README.md +0 -1
  40. data/rust-vendor/quote/src/lib.rs +1 -1
  41. data/rust-vendor/quote/src/to_tokens.rs +7 -0
  42. data/rust-vendor/quote/tests/ui/not-quotable.stderr +1 -1
  43. data/rust-vendor/quote/tests/ui/not-repeatable.stderr +3 -11
  44. data/rust-vendor/r-efi/.cargo-checksum.json +1 -1
  45. data/rust-vendor/r-efi/.cargo_vcs_info.json +1 -1
  46. data/rust-vendor/r-efi/AUTHORS +1 -0
  47. data/rust-vendor/r-efi/Cargo.lock +1 -1
  48. data/rust-vendor/r-efi/Cargo.toml +1 -3
  49. data/rust-vendor/r-efi/Cargo.toml.orig +1 -5
  50. data/rust-vendor/r-efi/NEWS.md +16 -0
  51. data/rust-vendor/r-efi/src/base.rs +1 -1
  52. data/rust-vendor/r-efi/src/lib.rs +27 -12
  53. data/rust-vendor/r-efi/src/protocols/absolute_pointer.rs +4 -4
  54. data/rust-vendor/r-efi/src/protocols/block_io.rs +8 -8
  55. data/rust-vendor/r-efi/src/protocols/bus_specific_driver_override.rs +2 -2
  56. data/rust-vendor/r-efi/src/protocols/debug_support.rs +10 -10
  57. data/rust-vendor/r-efi/src/protocols/debugport.rs +8 -8
  58. data/rust-vendor/r-efi/src/protocols/decompress.rs +4 -4
  59. data/rust-vendor/r-efi/src/protocols/device_path_from_text.rs +4 -4
  60. data/rust-vendor/r-efi/src/protocols/device_path_to_text.rs +4 -4
  61. data/rust-vendor/r-efi/src/protocols/device_path_utilities.rs +16 -16
  62. data/rust-vendor/r-efi/src/protocols/disk_io.rs +4 -4
  63. data/rust-vendor/r-efi/src/protocols/disk_io2.rs +8 -8
  64. data/rust-vendor/r-efi/src/protocols/driver_binding.rs +6 -6
  65. data/rust-vendor/r-efi/src/protocols/driver_diagnostics2.rs +2 -2
  66. data/rust-vendor/r-efi/src/protocols/driver_family_override.rs +2 -2
  67. data/rust-vendor/r-efi/src/protocols/file.rs +28 -28
  68. data/rust-vendor/r-efi/src/protocols/graphics_output.rs +6 -6
  69. data/rust-vendor/r-efi/src/protocols/hii_database.rs +24 -24
  70. data/rust-vendor/r-efi/src/protocols/hii_font.rs +8 -8
  71. data/rust-vendor/r-efi/src/protocols/hii_font_ex.rs +10 -10
  72. data/rust-vendor/r-efi/src/protocols/hii_string.rs +10 -10
  73. data/rust-vendor/r-efi/src/protocols/ip4.rs +16 -16
  74. data/rust-vendor/r-efi/src/protocols/ip6.rs +18 -18
  75. data/rust-vendor/r-efi/src/protocols/load_file.rs +2 -2
  76. data/rust-vendor/r-efi/src/protocols/loaded_image.rs +2 -2
  77. data/rust-vendor/r-efi/src/protocols/managed_network.rs +16 -16
  78. data/rust-vendor/r-efi/src/protocols/memory_attribute.rs +6 -6
  79. data/rust-vendor/r-efi/src/protocols/mp_services.rs +15 -15
  80. data/rust-vendor/r-efi/src/protocols/pci_io.rs +26 -26
  81. data/rust-vendor/r-efi/src/protocols/platform_driver_override.rs +6 -6
  82. data/rust-vendor/r-efi/src/protocols/rng.rs +4 -4
  83. data/rust-vendor/r-efi/src/protocols/service_binding.rs +4 -4
  84. data/rust-vendor/r-efi/src/protocols/shell.rs +81 -81
  85. data/rust-vendor/r-efi/src/protocols/shell_dynamic_command.rs +4 -4
  86. data/rust-vendor/r-efi/src/protocols/simple_file_system.rs +2 -2
  87. data/rust-vendor/r-efi/src/protocols/simple_network.rs +26 -26
  88. data/rust-vendor/r-efi/src/protocols/simple_text_input.rs +4 -4
  89. data/rust-vendor/r-efi/src/protocols/simple_text_input_ex.rs +11 -11
  90. data/rust-vendor/r-efi/src/protocols/simple_text_output.rs +18 -18
  91. data/rust-vendor/r-efi/src/protocols/tcp4.rs +20 -20
  92. data/rust-vendor/r-efi/src/protocols/tcp6.rs +18 -18
  93. data/rust-vendor/r-efi/src/protocols/timestamp.rs +3 -3
  94. data/rust-vendor/r-efi/src/protocols/udp4.rs +16 -16
  95. data/rust-vendor/r-efi/src/protocols/udp6.rs +14 -14
  96. data/rust-vendor/r-efi/src/system.rs +115 -115
  97. data/rust-vendor/r-efi/src/vendor/intel/console_control.rs +6 -6
  98. data/rust-vendor/r-efi-5.3.0/.cargo-checksum.json +1 -0
  99. data/rust-vendor/r-efi-5.3.0/.cargo_vcs_info.json +6 -0
  100. data/rust-vendor/r-efi-5.3.0/.github/workflows/publish.yml +39 -0
  101. data/rust-vendor/r-efi-5.3.0/.github/workflows/rust-tests.yml +125 -0
  102. data/rust-vendor/r-efi-5.3.0/AUTHORS +74 -0
  103. data/rust-vendor/r-efi-5.3.0/Cargo.lock +16 -0
  104. data/rust-vendor/r-efi-5.3.0/Cargo.toml +70 -0
  105. data/rust-vendor/r-efi-5.3.0/Cargo.toml.orig +51 -0
  106. data/rust-vendor/r-efi-5.3.0/Makefile +85 -0
  107. data/rust-vendor/r-efi-5.3.0/NEWS.md +301 -0
  108. data/rust-vendor/r-efi-5.3.0/README.md +99 -0
  109. data/rust-vendor/r-efi-5.3.0/examples/freestanding.rs +34 -0
  110. data/rust-vendor/r-efi-5.3.0/examples/gop-query.rs +188 -0
  111. data/rust-vendor/r-efi-5.3.0/examples/hello-world.rs +55 -0
  112. data/rust-vendor/r-efi-5.3.0/src/base.rs +993 -0
  113. data/rust-vendor/r-efi-5.3.0/src/hii.rs +1300 -0
  114. data/rust-vendor/r-efi-5.3.0/src/lib.rs +182 -0
  115. data/rust-vendor/r-efi-5.3.0/src/protocols/absolute_pointer.rs +69 -0
  116. data/rust-vendor/r-efi-5.3.0/src/protocols/block_io.rs +70 -0
  117. data/rust-vendor/r-efi-5.3.0/src/protocols/bus_specific_driver_override.rs +32 -0
  118. data/rust-vendor/r-efi-5.3.0/src/protocols/debug_support.rs +835 -0
  119. data/rust-vendor/r-efi-5.3.0/src/protocols/debugport.rs +42 -0
  120. data/rust-vendor/r-efi-5.3.0/src/protocols/decompress.rs +37 -0
  121. data/rust-vendor/r-efi-5.3.0/src/protocols/device_path.rs +82 -0
  122. data/rust-vendor/r-efi-5.3.0/src/protocols/device_path_from_text.rs +26 -0
  123. data/rust-vendor/r-efi-5.3.0/src/protocols/device_path_to_text.rs +30 -0
  124. data/rust-vendor/r-efi-5.3.0/src/protocols/device_path_utilities.rs +63 -0
  125. data/rust-vendor/r-efi-5.3.0/src/protocols/disk_io.rs +40 -0
  126. data/rust-vendor/r-efi-5.3.0/src/protocols/disk_io2.rs +58 -0
  127. data/rust-vendor/r-efi-5.3.0/src/protocols/driver_binding.rs +42 -0
  128. data/rust-vendor/r-efi-5.3.0/src/protocols/driver_diagnostics2.rs +38 -0
  129. data/rust-vendor/r-efi-5.3.0/src/protocols/driver_family_override.rs +23 -0
  130. data/rust-vendor/r-efi-5.3.0/src/protocols/file.rs +183 -0
  131. data/rust-vendor/r-efi-5.3.0/src/protocols/graphics_output.rs +103 -0
  132. data/rust-vendor/r-efi-5.3.0/src/protocols/hii_database.rs +299 -0
  133. data/rust-vendor/r-efi-5.3.0/src/protocols/hii_font.rs +87 -0
  134. data/rust-vendor/r-efi-5.3.0/src/protocols/hii_font_ex.rs +107 -0
  135. data/rust-vendor/r-efi-5.3.0/src/protocols/hii_package_list.rs +14 -0
  136. data/rust-vendor/r-efi-5.3.0/src/protocols/hii_string.rs +71 -0
  137. data/rust-vendor/r-efi-5.3.0/src/protocols/ip4.rs +202 -0
  138. data/rust-vendor/r-efi-5.3.0/src/protocols/ip6.rs +264 -0
  139. data/rust-vendor/r-efi-5.3.0/src/protocols/load_file.rs +26 -0
  140. data/rust-vendor/r-efi-5.3.0/src/protocols/load_file2.rs +15 -0
  141. data/rust-vendor/r-efi-5.3.0/src/protocols/loaded_image.rs +39 -0
  142. data/rust-vendor/r-efi-5.3.0/src/protocols/loaded_image_device_path.rs +13 -0
  143. data/rust-vendor/r-efi-5.3.0/src/protocols/managed_network.rs +147 -0
  144. data/rust-vendor/r-efi-5.3.0/src/protocols/memory_attribute.rs +40 -0
  145. data/rust-vendor/r-efi-5.3.0/src/protocols/mp_services.rs +121 -0
  146. data/rust-vendor/r-efi-5.3.0/src/protocols/pci_io.rs +203 -0
  147. data/rust-vendor/r-efi-5.3.0/src/protocols/platform_driver_override.rs +46 -0
  148. data/rust-vendor/r-efi-5.3.0/src/protocols/rng.rs +83 -0
  149. data/rust-vendor/r-efi-5.3.0/src/protocols/service_binding.rs +20 -0
  150. data/rust-vendor/r-efi-5.3.0/src/protocols/shell.rs +295 -0
  151. data/rust-vendor/r-efi-5.3.0/src/protocols/shell_dynamic_command.rs +33 -0
  152. data/rust-vendor/r-efi-5.3.0/src/protocols/shell_parameters.rs +23 -0
  153. data/rust-vendor/r-efi-5.3.0/src/protocols/simple_file_system.rs +26 -0
  154. data/rust-vendor/r-efi-5.3.0/src/protocols/simple_network.rs +196 -0
  155. data/rust-vendor/r-efi-5.3.0/src/protocols/simple_text_input.rs +38 -0
  156. data/rust-vendor/r-efi-5.3.0/src/protocols/simple_text_input_ex.rs +85 -0
  157. data/rust-vendor/r-efi-5.3.0/src/protocols/simple_text_output.rs +86 -0
  158. data/rust-vendor/r-efi-5.3.0/src/protocols/tcp4.rs +224 -0
  159. data/rust-vendor/r-efi-5.3.0/src/protocols/tcp6.rs +202 -0
  160. data/rust-vendor/r-efi-5.3.0/src/protocols/timestamp.rs +32 -0
  161. data/rust-vendor/r-efi-5.3.0/src/protocols/udp4.rs +151 -0
  162. data/rust-vendor/r-efi-5.3.0/src/protocols/udp6.rs +137 -0
  163. data/rust-vendor/r-efi-5.3.0/src/protocols.rs +54 -0
  164. data/rust-vendor/r-efi-5.3.0/src/system.rs +1130 -0
  165. data/rust-vendor/r-efi-5.3.0/src/vendor/intel/console_control.rs +37 -0
  166. data/rust-vendor/r-efi-5.3.0/src/vendor.rs +10 -0
  167. data/rust-vendor/tokio/.cargo-checksum.json +1 -1
  168. data/rust-vendor/tokio/.cargo_vcs_info.json +1 -1
  169. data/rust-vendor/tokio/CHANGELOG.md +94 -0
  170. data/rust-vendor/tokio/Cargo.lock +1549 -0
  171. data/rust-vendor/tokio/Cargo.toml +96 -83
  172. data/rust-vendor/tokio/Cargo.toml.orig +7 -7
  173. data/rust-vendor/tokio/README.md +1 -1
  174. data/rust-vendor/tokio/src/fs/open_options.rs +4 -1
  175. data/rust-vendor/tokio/src/fs/read.rs +4 -1
  176. data/rust-vendor/tokio/src/fs/write.rs +4 -1
  177. data/rust-vendor/tokio/src/io/async_write.rs +3 -4
  178. data/rust-vendor/tokio/src/io/poll_evented.rs +23 -1
  179. data/rust-vendor/tokio/src/io/stderr.rs +15 -1
  180. data/rust-vendor/tokio/src/io/stdout.rs +14 -0
  181. data/rust-vendor/tokio/src/io/util/async_write_ext.rs +2 -2
  182. data/rust-vendor/tokio/src/io/util/write_buf.rs +11 -2
  183. data/rust-vendor/tokio/src/lib.rs +12 -28
  184. data/rust-vendor/tokio/src/macros/select.rs +6 -8
  185. data/rust-vendor/tokio/src/net/tcp/socket.rs +25 -1
  186. data/rust-vendor/tokio/src/net/tcp/stream.rs +40 -1
  187. data/rust-vendor/tokio/src/process/unix/pidfd_reaper.rs +1 -41
  188. data/rust-vendor/tokio/src/runtime/blocking/pool.rs +18 -14
  189. data/rust-vendor/tokio/src/runtime/builder.rs +10 -4
  190. data/rust-vendor/tokio/src/runtime/handle.rs +3 -2
  191. data/rust-vendor/tokio/src/runtime/io/driver/uring.rs +49 -61
  192. data/rust-vendor/tokio/src/runtime/io/driver.rs +6 -5
  193. data/rust-vendor/tokio/src/runtime/mod.rs +20 -1
  194. data/rust-vendor/tokio/src/runtime/runtime.rs +71 -1
  195. data/rust-vendor/tokio/src/runtime/scheduler/current_thread/mod.rs +24 -8
  196. data/rust-vendor/tokio/src/runtime/scheduler/multi_thread/worker.rs +5 -0
  197. data/rust-vendor/tokio/src/runtime/task/core.rs +1 -0
  198. data/rust-vendor/tokio/src/runtime/task/join.rs +7 -3
  199. data/rust-vendor/tokio/src/runtime/task/list.rs +5 -3
  200. data/rust-vendor/tokio/src/runtime/task/mod.rs +0 -5
  201. data/rust-vendor/tokio/src/runtime/tests/loom_blocking.rs +39 -1
  202. data/rust-vendor/tokio/src/signal/mod.rs +6 -17
  203. data/rust-vendor/tokio/src/signal/registry.rs +1 -1
  204. data/rust-vendor/tokio/src/signal/unix.rs +24 -44
  205. data/rust-vendor/tokio/src/signal/windows/sys.rs +52 -64
  206. data/rust-vendor/tokio/src/signal/windows.rs +35 -23
  207. data/rust-vendor/tokio/src/sync/mpsc/mod.rs +3 -1
  208. data/rust-vendor/tokio/src/sync/oneshot.rs +13 -0
  209. data/rust-vendor/tokio/src/sync/rwlock.rs +4 -5
  210. data/rust-vendor/tokio/src/sync/tests/loom_oneshot.rs +27 -1
  211. data/rust-vendor/tokio/src/task/blocking.rs +16 -1
  212. data/rust-vendor/tokio/src/task/builder.rs +2 -2
  213. data/rust-vendor/tokio/src/task/mod.rs +1 -1
  214. data/rust-vendor/tokio/src/task/spawn.rs +8 -3
  215. data/rust-vendor/tokio/src/task/yield_now.rs +13 -23
  216. data/rust-vendor/tokio/src/time/clock.rs +62 -0
  217. data/rust-vendor/tokio/src/util/memchr.rs +32 -4
  218. data/rust-vendor/tokio/src/util/sharded_list.rs +6 -4
  219. data/rust-vendor/tokio/tests/fs_link.rs +54 -0
  220. data/rust-vendor/tokio/tests/io_async_fd_memory_leak.rs +209 -0
  221. data/rust-vendor/tokio/tests/io_write_buf.rs +56 -0
  222. data/rust-vendor/tokio/tests/process_issue_7144.rs +8 -0
  223. data/rust-vendor/tokio/tests/rt_basic.rs +41 -0
  224. data/rust-vendor/tokio/tests/rt_common_before_park.rs +92 -0
  225. data/rust-vendor/tokio/tests/rt_metrics.rs +1 -1
  226. data/rust-vendor/tokio/tests/rt_panic.rs +12 -0
  227. data/rust-vendor/tokio/tests/rt_shutdown_err.rs +82 -0
  228. data/rust-vendor/tokio/tests/rt_threaded.rs +49 -1
  229. data/rust-vendor/tokio/tests/rt_unstable_metrics.rs +32 -0
  230. data/rust-vendor/tokio/tests/tcp_connect.rs +2 -3
  231. data/rust-vendor/tokio/tests/tcp_shutdown.rs +1 -3
  232. data/rust-vendor/tokio/tests/tcp_socket.rs +3 -4
  233. data/rust-vendor/tokio/tests/tcp_stream.rs +3 -0
  234. data/sig/html_to_markdown.rbs +46 -0
  235. data/spec/convert_with_tables_spec.rb +194 -0
  236. metadata +80 -3
  237. data/rust-vendor/getrandom/src/utils/lazy.rs +0 -64
@@ -36,205 +36,205 @@ pub struct FileInfo {
36
36
  pub info: *mut crate::protocols::file::Info,
37
37
  }
38
38
 
39
- pub type Execute = eficall! {fn(
39
+ pub type Execute = unsafe extern "efiapi" fn(
40
40
  *mut crate::base::Handle,
41
41
  *mut crate::base::Char16,
42
42
  *mut *mut crate::base::Char16,
43
43
  *mut crate::base::Status,
44
- ) -> crate::base::Status};
44
+ ) -> crate::base::Status;
45
45
 
46
- pub type GetEnv = eficall! {fn(
46
+ pub type GetEnv = unsafe extern "efiapi" fn(
47
47
  *mut crate::base::Char16,
48
- ) -> *mut crate::base::Char16};
48
+ ) -> *mut crate::base::Char16;
49
49
 
50
- pub type SetEnv = eficall! {fn(
50
+ pub type SetEnv = unsafe extern "efiapi" fn(
51
51
  *mut crate::base::Char16,
52
52
  *mut crate::base::Char16,
53
53
  crate::base::Boolean,
54
- ) -> crate::base::Status};
54
+ ) -> crate::base::Status;
55
55
 
56
- pub type GetAlias = eficall! {fn(
56
+ pub type GetAlias = unsafe extern "efiapi" fn(
57
57
  *mut crate::base::Char16,
58
58
  *mut crate::base::Boolean,
59
- ) -> *mut crate::base::Char16};
59
+ ) -> *mut crate::base::Char16;
60
60
 
61
- pub type SetAlias = eficall! {fn(
61
+ pub type SetAlias = unsafe extern "efiapi" fn(
62
62
  *mut crate::base::Char16,
63
63
  *mut crate::base::Char16,
64
64
  crate::base::Boolean,
65
65
  crate::base::Boolean,
66
- ) -> crate::base::Status};
66
+ ) -> crate::base::Status;
67
67
 
68
- pub type GetHelpText = eficall! {fn(
68
+ pub type GetHelpText = unsafe extern "efiapi" fn(
69
69
  *mut crate::base::Char16,
70
70
  *mut crate::base::Char16,
71
71
  *mut *mut crate::base::Char16,
72
- ) -> crate::base::Status};
72
+ ) -> crate::base::Status;
73
73
 
74
- pub type GetDevicePathFromMap = eficall! {fn(
74
+ pub type GetDevicePathFromMap = unsafe extern "efiapi" fn(
75
75
  *mut crate::base::Char16,
76
- ) -> *mut crate::protocols::device_path::Protocol};
76
+ ) -> *mut crate::protocols::device_path::Protocol;
77
77
 
78
- pub type GetMapFromDevicePath = eficall! {fn(
78
+ pub type GetMapFromDevicePath = unsafe extern "efiapi" fn(
79
79
  *mut *mut crate::protocols::device_path::Protocol,
80
- ) -> *mut crate::base::Char16};
80
+ ) -> *mut crate::base::Char16;
81
81
 
82
- pub type GetDevicePathFromFilePath = eficall! {fn(
82
+ pub type GetDevicePathFromFilePath = unsafe extern "efiapi" fn(
83
83
  *mut crate::base::Char16,
84
- ) -> *mut crate::protocols::device_path::Protocol};
84
+ ) -> *mut crate::protocols::device_path::Protocol;
85
85
 
86
- pub type GetFilePathFromDevicePath = eficall! {fn(
86
+ pub type GetFilePathFromDevicePath = unsafe extern "efiapi" fn(
87
87
  *mut crate::protocols::device_path::Protocol,
88
- ) -> *mut crate::base::Char16};
88
+ ) -> *mut crate::base::Char16;
89
89
 
90
- pub type SetMap = eficall! {fn(
90
+ pub type SetMap = unsafe extern "efiapi" fn(
91
91
  *mut crate::protocols::device_path::Protocol,
92
92
  *mut crate::base::Char16,
93
- ) -> crate::base::Status};
93
+ ) -> crate::base::Status;
94
94
 
95
- pub type GetCurDir = eficall! {fn(
95
+ pub type GetCurDir = unsafe extern "efiapi" fn(
96
96
  *mut crate::base::Char16,
97
- ) -> *mut crate::base::Char16};
97
+ ) -> *mut crate::base::Char16;
98
98
 
99
- pub type SetCurDir = eficall! {fn(
99
+ pub type SetCurDir = unsafe extern "efiapi" fn(
100
100
  *mut crate::base::Char16,
101
101
  *mut crate::base::Char16,
102
- ) -> crate::base::Status};
102
+ ) -> crate::base::Status;
103
103
 
104
- pub type OpenFileList = eficall! {fn(
104
+ pub type OpenFileList = unsafe extern "efiapi" fn(
105
105
  *mut crate::base::Char16,
106
106
  u64,
107
107
  *mut *mut FileInfo,
108
- ) -> crate::base::Status};
108
+ ) -> crate::base::Status;
109
109
 
110
- pub type FreeFileList = eficall! {fn(
110
+ pub type FreeFileList = unsafe extern "efiapi" fn(
111
111
  *mut *mut FileInfo,
112
- ) -> crate::base::Status};
112
+ ) -> crate::base::Status;
113
113
 
114
- pub type RemoveDupInFileList = eficall! {fn(
114
+ pub type RemoveDupInFileList = unsafe extern "efiapi" fn(
115
115
  *mut *mut FileInfo,
116
- ) -> crate::base::Status};
116
+ ) -> crate::base::Status;
117
117
 
118
- pub type BatchIsActive = eficall! {fn() -> crate::base::Boolean};
118
+ pub type BatchIsActive = unsafe extern "efiapi" fn() -> crate::base::Boolean;
119
119
 
120
- pub type IsRootShell = eficall! {fn() -> crate::base::Boolean};
120
+ pub type IsRootShell = unsafe extern "efiapi" fn() -> crate::base::Boolean;
121
121
 
122
- pub type EnablePageBreak = eficall! {fn()};
122
+ pub type EnablePageBreak = unsafe extern "efiapi" fn();
123
123
 
124
- pub type DisablePageBreak = eficall! {fn()};
124
+ pub type DisablePageBreak = unsafe extern "efiapi" fn();
125
125
 
126
- pub type GetPageBreak = eficall! {fn() -> crate::base::Boolean};
126
+ pub type GetPageBreak = unsafe extern "efiapi" fn() -> crate::base::Boolean;
127
127
 
128
- pub type GetDeviceName = eficall! {fn(
128
+ pub type GetDeviceName = unsafe extern "efiapi" fn(
129
129
  crate::base::Handle,
130
130
  DeviceNameFlags,
131
131
  *mut crate::base::Char8,
132
132
  *mut *mut crate::base::Char16,
133
- ) -> crate::base::Status};
133
+ ) -> crate::base::Status;
134
134
 
135
- pub type GetFileInfo = eficall! {fn(
135
+ pub type GetFileInfo = unsafe extern "efiapi" fn(
136
136
  FileHandle,
137
- ) -> *mut crate::protocols::file::Info};
137
+ ) -> *mut crate::protocols::file::Info;
138
138
 
139
- pub type SetFileInfo = eficall! {fn(
139
+ pub type SetFileInfo = unsafe extern "efiapi" fn(
140
140
  FileHandle,
141
141
  *mut crate::protocols::file::Info
142
- ) -> crate::base::Status};
142
+ ) -> crate::base::Status;
143
143
 
144
- pub type OpenFileByName = eficall! {fn(
144
+ pub type OpenFileByName = unsafe extern "efiapi" fn(
145
145
  *mut crate::base::Char16,
146
146
  *mut FileHandle,
147
147
  u64,
148
- ) -> crate::base::Status};
148
+ ) -> crate::base::Status;
149
149
 
150
- pub type CloseFile = eficall! {fn(
150
+ pub type CloseFile = unsafe extern "efiapi" fn(
151
151
  FileHandle,
152
- ) -> crate::base::Status};
152
+ ) -> crate::base::Status;
153
153
 
154
- pub type CreateFile = eficall! {fn(
154
+ pub type CreateFile = unsafe extern "efiapi" fn(
155
155
  *mut crate::base::Char16,
156
156
  u64,
157
157
  *mut FileHandle,
158
- ) -> crate::base::Status};
158
+ ) -> crate::base::Status;
159
159
 
160
- pub type ReadFile = eficall! {fn(
160
+ pub type ReadFile = unsafe extern "efiapi" fn(
161
161
  FileHandle,
162
162
  *mut usize,
163
163
  *mut core::ffi::c_void,
164
- ) -> crate::base::Status};
164
+ ) -> crate::base::Status;
165
165
 
166
- pub type WriteFile = eficall! {fn(
166
+ pub type WriteFile = unsafe extern "efiapi" fn(
167
167
  FileHandle,
168
168
  *mut usize,
169
169
  *mut core::ffi::c_void,
170
- ) -> crate::base::Status};
170
+ ) -> crate::base::Status;
171
171
 
172
- pub type DeleteFile = eficall! {fn(
172
+ pub type DeleteFile = unsafe extern "efiapi" fn(
173
173
  FileHandle,
174
- ) -> crate::base::Status};
174
+ ) -> crate::base::Status;
175
175
 
176
- pub type DeleteFileByName = eficall! {fn(
176
+ pub type DeleteFileByName = unsafe extern "efiapi" fn(
177
177
  *mut crate::base::Char16,
178
- ) -> crate::base::Status};
178
+ ) -> crate::base::Status;
179
179
 
180
- pub type GetFilePosition = eficall! {fn(
180
+ pub type GetFilePosition = unsafe extern "efiapi" fn(
181
181
  FileHandle,
182
182
  *mut u64,
183
- ) -> crate::base::Status};
183
+ ) -> crate::base::Status;
184
184
 
185
- pub type SetFilePosition = eficall! {fn(
185
+ pub type SetFilePosition = unsafe extern "efiapi" fn(
186
186
  FileHandle,
187
187
  u64,
188
- ) -> crate::base::Status};
188
+ ) -> crate::base::Status;
189
189
 
190
- pub type FlushFile = eficall! {fn(
190
+ pub type FlushFile = unsafe extern "efiapi" fn(
191
191
  FileHandle,
192
- ) -> crate::base::Status};
192
+ ) -> crate::base::Status;
193
193
 
194
- pub type FindFiles = eficall! {fn(
194
+ pub type FindFiles = unsafe extern "efiapi" fn(
195
195
  *mut crate::base::Char16,
196
196
  *mut *mut FileInfo,
197
- ) -> crate::base::Status};
197
+ ) -> crate::base::Status;
198
198
 
199
- pub type FindFilesInDir = eficall! {fn(
199
+ pub type FindFilesInDir = unsafe extern "efiapi" fn(
200
200
  FileHandle,
201
201
  *mut *mut FileInfo,
202
- ) -> crate::base::Status};
202
+ ) -> crate::base::Status;
203
203
 
204
- pub type GetFileSize = eficall! {fn(
204
+ pub type GetFileSize = unsafe extern "efiapi" fn(
205
205
  FileHandle,
206
206
  *mut u64,
207
- ) -> crate::base::Status};
207
+ ) -> crate::base::Status;
208
208
 
209
- pub type OpenRoot = eficall! {fn(
209
+ pub type OpenRoot = unsafe extern "efiapi" fn(
210
210
  *mut crate::protocols::device_path::Protocol,
211
211
  *mut FileHandle,
212
- ) -> crate::base::Status};
212
+ ) -> crate::base::Status;
213
213
 
214
- pub type OpenRootByHandle = eficall! {fn(
214
+ pub type OpenRootByHandle = unsafe extern "efiapi" fn(
215
215
  crate::base::Handle,
216
216
  *mut FileHandle,
217
- ) -> crate::base::Status};
217
+ ) -> crate::base::Status;
218
218
 
219
- pub type RegisterGuidName = eficall! {fn(
219
+ pub type RegisterGuidName = unsafe extern "efiapi" fn(
220
220
  *mut crate::base::Guid,
221
221
  *mut crate::base::Char16,
222
- ) -> crate::base::Status};
222
+ ) -> crate::base::Status;
223
223
 
224
- pub type GetGuidName = eficall! {fn(
224
+ pub type GetGuidName = unsafe extern "efiapi" fn(
225
225
  *mut crate::base::Guid,
226
226
  *mut *mut crate::base::Char16,
227
- ) -> crate::base::Status};
227
+ ) -> crate::base::Status;
228
228
 
229
- pub type GetGuidFromName = eficall! {fn(
229
+ pub type GetGuidFromName = unsafe extern "efiapi" fn(
230
230
  *mut crate::base::Char16,
231
231
  *mut crate::base::Guid,
232
- ) -> crate::base::Status};
232
+ ) -> crate::base::Status;
233
233
 
234
- pub type GetEnvEx = eficall! {fn(
234
+ pub type GetEnvEx = unsafe extern "efiapi" fn(
235
235
  *mut crate::base::Char16,
236
236
  *mut u32,
237
- ) -> *mut crate::base::Char16};
237
+ ) -> *mut crate::base::Char16;
238
238
 
239
239
  #[repr(C)]
240
240
  pub struct Protocol {
@@ -13,17 +13,17 @@ pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
13
13
  &[0xa3, 0xdf, 0xac, 0x8a, 0x27, 0xc3],
14
14
  );
15
15
 
16
- pub type CommandHandler = eficall! {fn(
16
+ pub type CommandHandler = unsafe extern "efiapi" fn(
17
17
  *mut Protocol,
18
18
  *mut crate::system::SystemTable,
19
19
  *mut shell_parameters::Protocol,
20
20
  *mut shell::Protocol,
21
- ) -> crate::base::Status};
21
+ ) -> crate::base::Status;
22
22
 
23
- pub type CommandGetHelp = eficall! {fn(
23
+ pub type CommandGetHelp = unsafe extern "efiapi" fn(
24
24
  *mut Protocol,
25
25
  *mut crate::base::Char8,
26
- ) -> crate::base::Status};
26
+ ) -> crate::base::Status;
27
27
 
28
28
  #[repr(C)]
29
29
  pub struct Protocol {
@@ -14,10 +14,10 @@ pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
14
14
 
15
15
  pub const REVISION: u64 = 0x0000000000010000u64;
16
16
 
17
- pub type ProtocolOpenVolume = eficall! {fn(
17
+ pub type ProtocolOpenVolume = unsafe extern "efiapi" fn(
18
18
  *mut Protocol,
19
19
  *mut *mut crate::protocols::file::Protocol,
20
- ) -> crate::base::Status};
20
+ ) -> crate::base::Status;
21
21
 
22
22
  #[repr(C)]
23
23
  pub struct Protocol {
@@ -89,73 +89,73 @@ pub struct Statistics {
89
89
  pub tx_retry_frames: u64,
90
90
  }
91
91
 
92
- pub type ProtocolStart = eficall! {fn(
92
+ pub type ProtocolStart = unsafe extern "efiapi" fn(
93
93
  *mut Protocol,
94
- ) -> crate::base::Status};
94
+ ) -> crate::base::Status;
95
95
 
96
- pub type ProtocolStop = eficall! {fn(
96
+ pub type ProtocolStop = unsafe extern "efiapi" fn(
97
97
  *mut Protocol,
98
- ) -> crate::base::Status};
98
+ ) -> crate::base::Status;
99
99
 
100
- pub type ProtocolInitialize = eficall! {fn(
100
+ pub type ProtocolInitialize = unsafe extern "efiapi" fn(
101
101
  *mut Protocol,
102
102
  usize,
103
103
  usize,
104
- ) -> crate::base::Status};
104
+ ) -> crate::base::Status;
105
105
 
106
- pub type ProtocolReset = eficall! {fn(
106
+ pub type ProtocolReset = unsafe extern "efiapi" fn(
107
107
  *mut Protocol,
108
108
  crate::base::Boolean,
109
- ) -> crate::base::Status};
109
+ ) -> crate::base::Status;
110
110
 
111
- pub type ProtocolShutdown = eficall! {fn(
111
+ pub type ProtocolShutdown = unsafe extern "efiapi" fn(
112
112
  *mut Protocol,
113
- ) -> crate::base::Status};
113
+ ) -> crate::base::Status;
114
114
 
115
- pub type ProtocolReceiveFilters = eficall! {fn(
115
+ pub type ProtocolReceiveFilters = unsafe extern "efiapi" fn(
116
116
  *mut Protocol,
117
117
  u32,
118
118
  u32,
119
119
  crate::base::Boolean,
120
120
  usize,
121
121
  *mut crate::base::MacAddress,
122
- ) -> crate::base::Status};
122
+ ) -> crate::base::Status;
123
123
 
124
- pub type ProtocolStationAddress = eficall! {fn(
124
+ pub type ProtocolStationAddress = unsafe extern "efiapi" fn(
125
125
  *mut Protocol,
126
126
  crate::base::Boolean,
127
127
  *mut crate::base::MacAddress,
128
- ) -> crate::base::Status};
128
+ ) -> crate::base::Status;
129
129
 
130
- pub type ProtocolStatistics = eficall! {fn(
130
+ pub type ProtocolStatistics = unsafe extern "efiapi" fn(
131
131
  *mut Protocol,
132
132
  crate::base::Boolean,
133
133
  *mut usize,
134
134
  *mut Statistics,
135
- ) -> crate::base::Status};
135
+ ) -> crate::base::Status;
136
136
 
137
- pub type ProtocolMcastIpToMac = eficall! {fn(
137
+ pub type ProtocolMcastIpToMac = unsafe extern "efiapi" fn(
138
138
  *mut Protocol,
139
139
  crate::base::Boolean,
140
140
  *mut crate::base::IpAddress,
141
141
  *mut crate::base::MacAddress,
142
- ) -> crate::base::Status};
142
+ ) -> crate::base::Status;
143
143
 
144
- pub type ProtocolNvData = eficall! {fn(
144
+ pub type ProtocolNvData = unsafe extern "efiapi" fn(
145
145
  *mut Protocol,
146
146
  crate::base::Boolean,
147
147
  usize,
148
148
  usize,
149
149
  *mut core::ffi::c_void,
150
- ) -> crate::base::Status};
150
+ ) -> crate::base::Status;
151
151
 
152
- pub type ProtocolGetStatus = eficall! {fn(
152
+ pub type ProtocolGetStatus = unsafe extern "efiapi" fn(
153
153
  *mut Protocol,
154
154
  *mut u32,
155
155
  *mut *mut core::ffi::c_void,
156
- ) -> crate::base::Status};
156
+ ) -> crate::base::Status;
157
157
 
158
- pub type ProtocolTransmit = eficall! {fn(
158
+ pub type ProtocolTransmit = unsafe extern "efiapi" fn(
159
159
  *mut Protocol,
160
160
  usize,
161
161
  usize,
@@ -163,9 +163,9 @@ pub type ProtocolTransmit = eficall! {fn(
163
163
  *mut crate::base::MacAddress,
164
164
  *mut crate::base::MacAddress,
165
165
  *mut u16,
166
- ) -> crate::base::Status};
166
+ ) -> crate::base::Status;
167
167
 
168
- pub type ProtocolReceive = eficall! {fn(
168
+ pub type ProtocolReceive = unsafe extern "efiapi" fn(
169
169
  *mut Protocol,
170
170
  *mut usize,
171
171
  *mut usize,
@@ -173,7 +173,7 @@ pub type ProtocolReceive = eficall! {fn(
173
173
  *mut crate::base::MacAddress,
174
174
  *mut crate::base::MacAddress,
175
175
  *mut u16,
176
- ) -> crate::base::Status};
176
+ ) -> crate::base::Status;
177
177
 
178
178
  #[repr(C)]
179
179
  pub struct Protocol {
@@ -20,15 +20,15 @@ pub struct InputKey {
20
20
  pub unicode_char: crate::base::Char16,
21
21
  }
22
22
 
23
- pub type ProtocolReset = eficall! {fn(
23
+ pub type ProtocolReset = unsafe extern "efiapi" fn(
24
24
  *mut Protocol,
25
25
  crate::base::Boolean,
26
- ) -> crate::base::Status};
26
+ ) -> crate::base::Status;
27
27
 
28
- pub type ProtocolReadKeyStroke = eficall! {fn(
28
+ pub type ProtocolReadKeyStroke = unsafe extern "efiapi" fn(
29
29
  *mut Protocol,
30
30
  *mut InputKey,
31
- ) -> crate::base::Status};
31
+ ) -> crate::base::Status;
32
32
 
33
33
  #[repr(C)]
34
34
  pub struct Protocol {
@@ -31,7 +31,7 @@ pub const NUM_LOCK_ACTIVE: u8 = 0x02u8;
31
31
  pub const CAPS_LOCK_ACTIVE: u8 = 0x04u8;
32
32
 
33
33
  pub type KeyToggleState = u8;
34
- pub type KeyNotifyFunction = eficall! {fn(*mut KeyData) -> crate::base::Status};
34
+ pub type KeyNotifyFunction = unsafe extern "efiapi" fn(*mut KeyData) -> crate::base::Status;
35
35
 
36
36
  #[repr(C)]
37
37
  #[derive(Clone, Copy, Debug, Default)]
@@ -47,32 +47,32 @@ pub struct KeyData {
47
47
  pub key_state: KeyState,
48
48
  }
49
49
 
50
- pub type ProtocolReset = eficall! {fn(
50
+ pub type ProtocolReset = unsafe extern "efiapi" fn(
51
51
  *mut Protocol,
52
52
  crate::base::Boolean,
53
- ) -> crate::base::Status};
53
+ ) -> crate::base::Status;
54
54
 
55
- pub type ProtocolReadKeyStrokeEx = eficall! {fn(
55
+ pub type ProtocolReadKeyStrokeEx = unsafe extern "efiapi" fn(
56
56
  *mut Protocol,
57
57
  *mut KeyData,
58
- ) -> crate::base::Status};
58
+ ) -> crate::base::Status;
59
59
 
60
- pub type ProtocolSetState = eficall! {fn(
60
+ pub type ProtocolSetState = unsafe extern "efiapi" fn(
61
61
  *mut Protocol,
62
62
  *mut KeyToggleState,
63
- ) -> crate::base::Status};
63
+ ) -> crate::base::Status;
64
64
 
65
- pub type ProtocolRegisterKeyNotify = eficall! {fn(
65
+ pub type ProtocolRegisterKeyNotify = unsafe extern "efiapi" fn(
66
66
  *mut Protocol,
67
67
  *mut KeyData,
68
68
  KeyNotifyFunction,
69
69
  *mut *mut core::ffi::c_void,
70
- ) -> crate::base::Status};
70
+ ) -> crate::base::Status;
71
71
 
72
- pub type ProtocolUnregisterKeyNotify = eficall! {fn(
72
+ pub type ProtocolUnregisterKeyNotify = unsafe extern "efiapi" fn(
73
73
  *mut Protocol,
74
74
  *mut core::ffi::c_void,
75
- ) -> crate::base::Status};
75
+ ) -> crate::base::Status;
76
76
 
77
77
  #[repr(C)]
78
78
  pub struct Protocol {
@@ -24,52 +24,52 @@ pub struct Mode {
24
24
  pub cursor_visible: crate::base::Boolean,
25
25
  }
26
26
 
27
- pub type ProtocolReset = eficall! {fn(
27
+ pub type ProtocolReset = unsafe extern "efiapi" fn(
28
28
  *mut Protocol,
29
29
  crate::base::Boolean,
30
- ) -> crate::base::Status};
30
+ ) -> crate::base::Status;
31
31
 
32
- pub type ProtocolOutputString = eficall! {fn(
32
+ pub type ProtocolOutputString = unsafe extern "efiapi" fn(
33
33
  *mut Protocol,
34
34
  *mut crate::base::Char16,
35
- ) -> crate::base::Status};
35
+ ) -> crate::base::Status;
36
36
 
37
- pub type ProtocolTestString = eficall! {fn(
37
+ pub type ProtocolTestString = unsafe extern "efiapi" fn(
38
38
  *mut Protocol,
39
39
  *mut crate::base::Char16,
40
- ) -> crate::base::Status};
40
+ ) -> crate::base::Status;
41
41
 
42
- pub type ProtocolQueryMode = eficall! {fn(
42
+ pub type ProtocolQueryMode = unsafe extern "efiapi" fn(
43
43
  *mut Protocol,
44
44
  usize,
45
45
  *mut usize,
46
46
  *mut usize,
47
- ) -> crate::base::Status};
47
+ ) -> crate::base::Status;
48
48
 
49
- pub type ProtocolSetMode = eficall! {fn(
49
+ pub type ProtocolSetMode = unsafe extern "efiapi" fn(
50
50
  *mut Protocol,
51
51
  usize,
52
- ) -> crate::base::Status};
52
+ ) -> crate::base::Status;
53
53
 
54
- pub type ProtocolSetAttribute = eficall! {fn(
54
+ pub type ProtocolSetAttribute = unsafe extern "efiapi" fn(
55
55
  *mut Protocol,
56
56
  usize,
57
- ) -> crate::base::Status};
57
+ ) -> crate::base::Status;
58
58
 
59
- pub type ProtocolClearScreen = eficall! {fn(
59
+ pub type ProtocolClearScreen = unsafe extern "efiapi" fn(
60
60
  *mut Protocol,
61
- ) -> crate::base::Status};
61
+ ) -> crate::base::Status;
62
62
 
63
- pub type ProtocolSetCursorPosition = eficall! {fn(
63
+ pub type ProtocolSetCursorPosition = unsafe extern "efiapi" fn(
64
64
  *mut Protocol,
65
65
  usize,
66
66
  usize,
67
- ) -> crate::base::Status};
67
+ ) -> crate::base::Status;
68
68
 
69
- pub type ProtocolEnableCursor = eficall! {fn(
69
+ pub type ProtocolEnableCursor = unsafe extern "efiapi" fn(
70
70
  *mut Protocol,
71
71
  crate::base::Boolean,
72
- ) -> crate::base::Status};
72
+ ) -> crate::base::Status;
73
73
 
74
74
  #[repr(C)]
75
75
  pub struct Protocol {
@@ -153,61 +153,61 @@ pub struct CloseToken {
153
153
  pub abort_on_close: crate::base::Boolean,
154
154
  }
155
155
 
156
- pub type ProtocolGetModeData = eficall! {fn(
156
+ pub type ProtocolGetModeData = unsafe extern "efiapi" fn(
157
157
  *mut Protocol,
158
158
  *mut ConnectionState,
159
159
  *mut ConfigData,
160
160
  *mut crate::protocols::ip4::ModeData,
161
161
  *mut crate::protocols::managed_network::ConfigData,
162
162
  *mut crate::protocols::simple_network::Mode,
163
- ) -> crate::base::Status};
163
+ ) -> crate::base::Status;
164
164
 
165
- pub type ProtocolConfigure = eficall! {fn(
165
+ pub type ProtocolConfigure = unsafe extern "efiapi" fn(
166
166
  *mut Protocol,
167
167
  *mut ConfigData,
168
- ) -> crate::base::Status};
168
+ ) -> crate::base::Status;
169
169
 
170
- pub type ProtocolRoutes = eficall! {fn(
170
+ pub type ProtocolRoutes = unsafe extern "efiapi" fn(
171
171
  *mut Protocol,
172
172
  crate::base::Boolean,
173
173
  *mut crate::base::Ipv4Address,
174
174
  *mut crate::base::Ipv4Address,
175
175
  *mut crate::base::Ipv4Address,
176
- ) -> crate::base::Status};
176
+ ) -> crate::base::Status;
177
177
 
178
- pub type ProtocolConnect = eficall! {fn(
178
+ pub type ProtocolConnect = unsafe extern "efiapi" fn(
179
179
  *mut Protocol,
180
180
  *mut ConnectionToken,
181
- ) -> crate::base::Status};
181
+ ) -> crate::base::Status;
182
182
 
183
- pub type ProtocolAccept = eficall! {fn(
183
+ pub type ProtocolAccept = unsafe extern "efiapi" fn(
184
184
  *mut Protocol,
185
185
  *mut ListenToken,
186
- ) -> crate::base::Status};
186
+ ) -> crate::base::Status;
187
187
 
188
- pub type ProtocolTransmit = eficall! {fn(
188
+ pub type ProtocolTransmit = unsafe extern "efiapi" fn(
189
189
  *mut Protocol,
190
190
  *mut IoToken,
191
- ) -> crate::base::Status};
191
+ ) -> crate::base::Status;
192
192
 
193
- pub type ProtocolReceive = eficall! {fn(
193
+ pub type ProtocolReceive = unsafe extern "efiapi" fn(
194
194
  *mut Protocol,
195
195
  *mut IoToken,
196
- ) -> crate::base::Status};
196
+ ) -> crate::base::Status;
197
197
 
198
- pub type ProtocolClose = eficall! {fn(
198
+ pub type ProtocolClose = unsafe extern "efiapi" fn(
199
199
  *mut Protocol,
200
200
  *mut CloseToken,
201
- ) -> crate::base::Status};
201
+ ) -> crate::base::Status;
202
202
 
203
- pub type ProtocolCancel = eficall! {fn(
203
+ pub type ProtocolCancel = unsafe extern "efiapi" fn(
204
204
  *mut Protocol,
205
205
  *mut CompletionToken,
206
- ) -> crate::base::Status};
206
+ ) -> crate::base::Status;
207
207
 
208
- pub type ProtocolPoll = eficall! {fn(
208
+ pub type ProtocolPoll = unsafe extern "efiapi" fn(
209
209
  *mut Protocol,
210
- ) -> crate::base::Status};
210
+ ) -> crate::base::Status;
211
211
 
212
212
  #[repr(C)]
213
213
  pub struct Protocol {