html-to-markdown 2.27.2 → 2.27.3

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 (226) 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/lib/html_to_markdown/version.rb +1 -1
  5. data/rust-vendor/getrandom/.cargo-checksum.json +1 -1
  6. data/rust-vendor/getrandom/.cargo_vcs_info.json +1 -1
  7. data/rust-vendor/getrandom/CHANGELOG.md +62 -43
  8. data/rust-vendor/getrandom/Cargo.lock +49 -56
  9. data/rust-vendor/getrandom/Cargo.toml +2 -2
  10. data/rust-vendor/getrandom/Cargo.toml.orig +2 -2
  11. data/rust-vendor/getrandom/src/backends/efi_rng.rs +8 -10
  12. data/rust-vendor/getrandom/src/backends/getentropy.rs +13 -4
  13. data/rust-vendor/getrandom/src/backends/linux_android_with_fallback.rs +10 -25
  14. data/rust-vendor/getrandom/src/backends/netbsd.rs +17 -25
  15. data/rust-vendor/getrandom/src/backends/rdrand.rs +15 -9
  16. data/rust-vendor/getrandom/src/backends/rndr.rs +2 -1
  17. data/rust-vendor/getrandom/src/backends/vxworks.rs +7 -3
  18. data/rust-vendor/getrandom/src/backends/windows.rs +21 -5
  19. data/rust-vendor/getrandom/src/utils/lazy_bool.rs +39 -0
  20. data/rust-vendor/getrandom/src/utils/lazy_ptr.rs +57 -0
  21. data/rust-vendor/html-to-markdown-rs/Cargo.toml +2 -2
  22. data/rust-vendor/html-to-markdown-rs/src/converter/text_node.rs +2 -1
  23. data/rust-vendor/html-to-markdown-rs/tests/issue_216_217_regressions.rs +82 -0
  24. data/rust-vendor/quote/.cargo-checksum.json +1 -1
  25. data/rust-vendor/quote/.cargo_vcs_info.json +1 -1
  26. data/rust-vendor/quote/.github/workflows/ci.yml +2 -2
  27. data/rust-vendor/quote/Cargo.lock +21 -21
  28. data/rust-vendor/quote/Cargo.toml +2 -2
  29. data/rust-vendor/quote/Cargo.toml.orig +2 -2
  30. data/rust-vendor/quote/README.md +0 -1
  31. data/rust-vendor/quote/src/lib.rs +1 -1
  32. data/rust-vendor/quote/src/to_tokens.rs +7 -0
  33. data/rust-vendor/quote/tests/ui/not-quotable.stderr +1 -1
  34. data/rust-vendor/quote/tests/ui/not-repeatable.stderr +3 -11
  35. data/rust-vendor/r-efi/.cargo-checksum.json +1 -1
  36. data/rust-vendor/r-efi/.cargo_vcs_info.json +1 -1
  37. data/rust-vendor/r-efi/AUTHORS +1 -0
  38. data/rust-vendor/r-efi/Cargo.lock +1 -1
  39. data/rust-vendor/r-efi/Cargo.toml +1 -3
  40. data/rust-vendor/r-efi/Cargo.toml.orig +1 -5
  41. data/rust-vendor/r-efi/NEWS.md +16 -0
  42. data/rust-vendor/r-efi/src/base.rs +1 -1
  43. data/rust-vendor/r-efi/src/lib.rs +27 -12
  44. data/rust-vendor/r-efi/src/protocols/absolute_pointer.rs +4 -4
  45. data/rust-vendor/r-efi/src/protocols/block_io.rs +8 -8
  46. data/rust-vendor/r-efi/src/protocols/bus_specific_driver_override.rs +2 -2
  47. data/rust-vendor/r-efi/src/protocols/debug_support.rs +10 -10
  48. data/rust-vendor/r-efi/src/protocols/debugport.rs +8 -8
  49. data/rust-vendor/r-efi/src/protocols/decompress.rs +4 -4
  50. data/rust-vendor/r-efi/src/protocols/device_path_from_text.rs +4 -4
  51. data/rust-vendor/r-efi/src/protocols/device_path_to_text.rs +4 -4
  52. data/rust-vendor/r-efi/src/protocols/device_path_utilities.rs +16 -16
  53. data/rust-vendor/r-efi/src/protocols/disk_io.rs +4 -4
  54. data/rust-vendor/r-efi/src/protocols/disk_io2.rs +8 -8
  55. data/rust-vendor/r-efi/src/protocols/driver_binding.rs +6 -6
  56. data/rust-vendor/r-efi/src/protocols/driver_diagnostics2.rs +2 -2
  57. data/rust-vendor/r-efi/src/protocols/driver_family_override.rs +2 -2
  58. data/rust-vendor/r-efi/src/protocols/file.rs +28 -28
  59. data/rust-vendor/r-efi/src/protocols/graphics_output.rs +6 -6
  60. data/rust-vendor/r-efi/src/protocols/hii_database.rs +24 -24
  61. data/rust-vendor/r-efi/src/protocols/hii_font.rs +8 -8
  62. data/rust-vendor/r-efi/src/protocols/hii_font_ex.rs +10 -10
  63. data/rust-vendor/r-efi/src/protocols/hii_string.rs +10 -10
  64. data/rust-vendor/r-efi/src/protocols/ip4.rs +16 -16
  65. data/rust-vendor/r-efi/src/protocols/ip6.rs +18 -18
  66. data/rust-vendor/r-efi/src/protocols/load_file.rs +2 -2
  67. data/rust-vendor/r-efi/src/protocols/loaded_image.rs +2 -2
  68. data/rust-vendor/r-efi/src/protocols/managed_network.rs +16 -16
  69. data/rust-vendor/r-efi/src/protocols/memory_attribute.rs +6 -6
  70. data/rust-vendor/r-efi/src/protocols/mp_services.rs +15 -15
  71. data/rust-vendor/r-efi/src/protocols/pci_io.rs +26 -26
  72. data/rust-vendor/r-efi/src/protocols/platform_driver_override.rs +6 -6
  73. data/rust-vendor/r-efi/src/protocols/rng.rs +4 -4
  74. data/rust-vendor/r-efi/src/protocols/service_binding.rs +4 -4
  75. data/rust-vendor/r-efi/src/protocols/shell.rs +81 -81
  76. data/rust-vendor/r-efi/src/protocols/shell_dynamic_command.rs +4 -4
  77. data/rust-vendor/r-efi/src/protocols/simple_file_system.rs +2 -2
  78. data/rust-vendor/r-efi/src/protocols/simple_network.rs +26 -26
  79. data/rust-vendor/r-efi/src/protocols/simple_text_input.rs +4 -4
  80. data/rust-vendor/r-efi/src/protocols/simple_text_input_ex.rs +11 -11
  81. data/rust-vendor/r-efi/src/protocols/simple_text_output.rs +18 -18
  82. data/rust-vendor/r-efi/src/protocols/tcp4.rs +20 -20
  83. data/rust-vendor/r-efi/src/protocols/tcp6.rs +18 -18
  84. data/rust-vendor/r-efi/src/protocols/timestamp.rs +3 -3
  85. data/rust-vendor/r-efi/src/protocols/udp4.rs +16 -16
  86. data/rust-vendor/r-efi/src/protocols/udp6.rs +14 -14
  87. data/rust-vendor/r-efi/src/system.rs +115 -115
  88. data/rust-vendor/r-efi/src/vendor/intel/console_control.rs +6 -6
  89. data/rust-vendor/r-efi-5.3.0/.cargo-checksum.json +1 -0
  90. data/rust-vendor/r-efi-5.3.0/.cargo_vcs_info.json +6 -0
  91. data/rust-vendor/r-efi-5.3.0/.github/workflows/publish.yml +39 -0
  92. data/rust-vendor/r-efi-5.3.0/.github/workflows/rust-tests.yml +125 -0
  93. data/rust-vendor/r-efi-5.3.0/AUTHORS +74 -0
  94. data/rust-vendor/r-efi-5.3.0/Cargo.lock +16 -0
  95. data/rust-vendor/r-efi-5.3.0/Cargo.toml +70 -0
  96. data/rust-vendor/r-efi-5.3.0/Cargo.toml.orig +51 -0
  97. data/rust-vendor/r-efi-5.3.0/Makefile +85 -0
  98. data/rust-vendor/r-efi-5.3.0/NEWS.md +301 -0
  99. data/rust-vendor/r-efi-5.3.0/README.md +99 -0
  100. data/rust-vendor/r-efi-5.3.0/examples/freestanding.rs +34 -0
  101. data/rust-vendor/r-efi-5.3.0/examples/gop-query.rs +188 -0
  102. data/rust-vendor/r-efi-5.3.0/examples/hello-world.rs +55 -0
  103. data/rust-vendor/r-efi-5.3.0/src/base.rs +993 -0
  104. data/rust-vendor/r-efi-5.3.0/src/hii.rs +1300 -0
  105. data/rust-vendor/r-efi-5.3.0/src/lib.rs +182 -0
  106. data/rust-vendor/r-efi-5.3.0/src/protocols/absolute_pointer.rs +69 -0
  107. data/rust-vendor/r-efi-5.3.0/src/protocols/block_io.rs +70 -0
  108. data/rust-vendor/r-efi-5.3.0/src/protocols/bus_specific_driver_override.rs +32 -0
  109. data/rust-vendor/r-efi-5.3.0/src/protocols/debug_support.rs +835 -0
  110. data/rust-vendor/r-efi-5.3.0/src/protocols/debugport.rs +42 -0
  111. data/rust-vendor/r-efi-5.3.0/src/protocols/decompress.rs +37 -0
  112. data/rust-vendor/r-efi-5.3.0/src/protocols/device_path.rs +82 -0
  113. data/rust-vendor/r-efi-5.3.0/src/protocols/device_path_from_text.rs +26 -0
  114. data/rust-vendor/r-efi-5.3.0/src/protocols/device_path_to_text.rs +30 -0
  115. data/rust-vendor/r-efi-5.3.0/src/protocols/device_path_utilities.rs +63 -0
  116. data/rust-vendor/r-efi-5.3.0/src/protocols/disk_io.rs +40 -0
  117. data/rust-vendor/r-efi-5.3.0/src/protocols/disk_io2.rs +58 -0
  118. data/rust-vendor/r-efi-5.3.0/src/protocols/driver_binding.rs +42 -0
  119. data/rust-vendor/r-efi-5.3.0/src/protocols/driver_diagnostics2.rs +38 -0
  120. data/rust-vendor/r-efi-5.3.0/src/protocols/driver_family_override.rs +23 -0
  121. data/rust-vendor/r-efi-5.3.0/src/protocols/file.rs +183 -0
  122. data/rust-vendor/r-efi-5.3.0/src/protocols/graphics_output.rs +103 -0
  123. data/rust-vendor/r-efi-5.3.0/src/protocols/hii_database.rs +299 -0
  124. data/rust-vendor/r-efi-5.3.0/src/protocols/hii_font.rs +87 -0
  125. data/rust-vendor/r-efi-5.3.0/src/protocols/hii_font_ex.rs +107 -0
  126. data/rust-vendor/r-efi-5.3.0/src/protocols/hii_package_list.rs +14 -0
  127. data/rust-vendor/r-efi-5.3.0/src/protocols/hii_string.rs +71 -0
  128. data/rust-vendor/r-efi-5.3.0/src/protocols/ip4.rs +202 -0
  129. data/rust-vendor/r-efi-5.3.0/src/protocols/ip6.rs +264 -0
  130. data/rust-vendor/r-efi-5.3.0/src/protocols/load_file.rs +26 -0
  131. data/rust-vendor/r-efi-5.3.0/src/protocols/load_file2.rs +15 -0
  132. data/rust-vendor/r-efi-5.3.0/src/protocols/loaded_image.rs +39 -0
  133. data/rust-vendor/r-efi-5.3.0/src/protocols/loaded_image_device_path.rs +13 -0
  134. data/rust-vendor/r-efi-5.3.0/src/protocols/managed_network.rs +147 -0
  135. data/rust-vendor/r-efi-5.3.0/src/protocols/memory_attribute.rs +40 -0
  136. data/rust-vendor/r-efi-5.3.0/src/protocols/mp_services.rs +121 -0
  137. data/rust-vendor/r-efi-5.3.0/src/protocols/pci_io.rs +203 -0
  138. data/rust-vendor/r-efi-5.3.0/src/protocols/platform_driver_override.rs +46 -0
  139. data/rust-vendor/r-efi-5.3.0/src/protocols/rng.rs +83 -0
  140. data/rust-vendor/r-efi-5.3.0/src/protocols/service_binding.rs +20 -0
  141. data/rust-vendor/r-efi-5.3.0/src/protocols/shell.rs +295 -0
  142. data/rust-vendor/r-efi-5.3.0/src/protocols/shell_dynamic_command.rs +33 -0
  143. data/rust-vendor/r-efi-5.3.0/src/protocols/shell_parameters.rs +23 -0
  144. data/rust-vendor/r-efi-5.3.0/src/protocols/simple_file_system.rs +26 -0
  145. data/rust-vendor/r-efi-5.3.0/src/protocols/simple_network.rs +196 -0
  146. data/rust-vendor/r-efi-5.3.0/src/protocols/simple_text_input.rs +38 -0
  147. data/rust-vendor/r-efi-5.3.0/src/protocols/simple_text_input_ex.rs +85 -0
  148. data/rust-vendor/r-efi-5.3.0/src/protocols/simple_text_output.rs +86 -0
  149. data/rust-vendor/r-efi-5.3.0/src/protocols/tcp4.rs +224 -0
  150. data/rust-vendor/r-efi-5.3.0/src/protocols/tcp6.rs +202 -0
  151. data/rust-vendor/r-efi-5.3.0/src/protocols/timestamp.rs +32 -0
  152. data/rust-vendor/r-efi-5.3.0/src/protocols/udp4.rs +151 -0
  153. data/rust-vendor/r-efi-5.3.0/src/protocols/udp6.rs +137 -0
  154. data/rust-vendor/r-efi-5.3.0/src/protocols.rs +54 -0
  155. data/rust-vendor/r-efi-5.3.0/src/system.rs +1130 -0
  156. data/rust-vendor/r-efi-5.3.0/src/vendor/intel/console_control.rs +37 -0
  157. data/rust-vendor/r-efi-5.3.0/src/vendor.rs +10 -0
  158. data/rust-vendor/tokio/.cargo-checksum.json +1 -1
  159. data/rust-vendor/tokio/.cargo_vcs_info.json +1 -1
  160. data/rust-vendor/tokio/CHANGELOG.md +94 -0
  161. data/rust-vendor/tokio/Cargo.lock +1549 -0
  162. data/rust-vendor/tokio/Cargo.toml +96 -83
  163. data/rust-vendor/tokio/Cargo.toml.orig +7 -7
  164. data/rust-vendor/tokio/README.md +1 -1
  165. data/rust-vendor/tokio/src/fs/open_options.rs +4 -1
  166. data/rust-vendor/tokio/src/fs/read.rs +4 -1
  167. data/rust-vendor/tokio/src/fs/write.rs +4 -1
  168. data/rust-vendor/tokio/src/io/async_write.rs +3 -4
  169. data/rust-vendor/tokio/src/io/poll_evented.rs +23 -1
  170. data/rust-vendor/tokio/src/io/stderr.rs +15 -1
  171. data/rust-vendor/tokio/src/io/stdout.rs +14 -0
  172. data/rust-vendor/tokio/src/io/util/async_write_ext.rs +2 -2
  173. data/rust-vendor/tokio/src/io/util/write_buf.rs +11 -2
  174. data/rust-vendor/tokio/src/lib.rs +12 -28
  175. data/rust-vendor/tokio/src/macros/select.rs +6 -8
  176. data/rust-vendor/tokio/src/net/tcp/socket.rs +25 -1
  177. data/rust-vendor/tokio/src/net/tcp/stream.rs +40 -1
  178. data/rust-vendor/tokio/src/process/unix/pidfd_reaper.rs +1 -41
  179. data/rust-vendor/tokio/src/runtime/blocking/pool.rs +18 -14
  180. data/rust-vendor/tokio/src/runtime/builder.rs +10 -4
  181. data/rust-vendor/tokio/src/runtime/handle.rs +3 -2
  182. data/rust-vendor/tokio/src/runtime/io/driver/uring.rs +49 -61
  183. data/rust-vendor/tokio/src/runtime/io/driver.rs +6 -5
  184. data/rust-vendor/tokio/src/runtime/mod.rs +20 -1
  185. data/rust-vendor/tokio/src/runtime/runtime.rs +71 -1
  186. data/rust-vendor/tokio/src/runtime/scheduler/current_thread/mod.rs +24 -8
  187. data/rust-vendor/tokio/src/runtime/scheduler/multi_thread/worker.rs +5 -0
  188. data/rust-vendor/tokio/src/runtime/task/core.rs +1 -0
  189. data/rust-vendor/tokio/src/runtime/task/join.rs +7 -3
  190. data/rust-vendor/tokio/src/runtime/task/list.rs +5 -3
  191. data/rust-vendor/tokio/src/runtime/task/mod.rs +0 -5
  192. data/rust-vendor/tokio/src/runtime/tests/loom_blocking.rs +39 -1
  193. data/rust-vendor/tokio/src/signal/mod.rs +6 -17
  194. data/rust-vendor/tokio/src/signal/registry.rs +1 -1
  195. data/rust-vendor/tokio/src/signal/unix.rs +24 -44
  196. data/rust-vendor/tokio/src/signal/windows/sys.rs +52 -64
  197. data/rust-vendor/tokio/src/signal/windows.rs +35 -23
  198. data/rust-vendor/tokio/src/sync/mpsc/mod.rs +3 -1
  199. data/rust-vendor/tokio/src/sync/oneshot.rs +13 -0
  200. data/rust-vendor/tokio/src/sync/rwlock.rs +4 -5
  201. data/rust-vendor/tokio/src/sync/tests/loom_oneshot.rs +27 -1
  202. data/rust-vendor/tokio/src/task/blocking.rs +16 -1
  203. data/rust-vendor/tokio/src/task/builder.rs +2 -2
  204. data/rust-vendor/tokio/src/task/mod.rs +1 -1
  205. data/rust-vendor/tokio/src/task/spawn.rs +8 -3
  206. data/rust-vendor/tokio/src/task/yield_now.rs +13 -23
  207. data/rust-vendor/tokio/src/time/clock.rs +62 -0
  208. data/rust-vendor/tokio/src/util/memchr.rs +32 -4
  209. data/rust-vendor/tokio/src/util/sharded_list.rs +6 -4
  210. data/rust-vendor/tokio/tests/fs_link.rs +54 -0
  211. data/rust-vendor/tokio/tests/io_async_fd_memory_leak.rs +209 -0
  212. data/rust-vendor/tokio/tests/io_write_buf.rs +56 -0
  213. data/rust-vendor/tokio/tests/process_issue_7144.rs +8 -0
  214. data/rust-vendor/tokio/tests/rt_basic.rs +41 -0
  215. data/rust-vendor/tokio/tests/rt_common_before_park.rs +92 -0
  216. data/rust-vendor/tokio/tests/rt_metrics.rs +1 -1
  217. data/rust-vendor/tokio/tests/rt_panic.rs +12 -0
  218. data/rust-vendor/tokio/tests/rt_shutdown_err.rs +82 -0
  219. data/rust-vendor/tokio/tests/rt_threaded.rs +49 -1
  220. data/rust-vendor/tokio/tests/rt_unstable_metrics.rs +32 -0
  221. data/rust-vendor/tokio/tests/tcp_connect.rs +2 -3
  222. data/rust-vendor/tokio/tests/tcp_shutdown.rs +1 -3
  223. data/rust-vendor/tokio/tests/tcp_socket.rs +3 -4
  224. data/rust-vendor/tokio/tests/tcp_stream.rs +3 -0
  225. metadata +78 -3
  226. data/rust-vendor/getrandom/src/utils/lazy.rs +0 -64
@@ -68,7 +68,7 @@ pub const ATTRIBUTE_OPERATION_MAXIMUM: AttributeOperation = 0x00000005;
68
68
 
69
69
  pub const PASS_THROUGH_BAR: u8 = 0xff;
70
70
 
71
- pub type ProtocolPollIoMem = eficall! {fn(
71
+ pub type ProtocolPollIoMem = unsafe extern "efiapi" fn(
72
72
  *mut Protocol,
73
73
  Width,
74
74
  u8,
@@ -77,26 +77,26 @@ pub type ProtocolPollIoMem = eficall! {fn(
77
77
  u64,
78
78
  u64,
79
79
  *mut u64,
80
- ) -> crate::base::Status};
80
+ ) -> crate::base::Status;
81
81
 
82
- pub type ProtocolIoMem = eficall! {fn(
82
+ pub type ProtocolIoMem = unsafe extern "efiapi" fn(
83
83
  *mut Protocol,
84
84
  Width,
85
85
  u8,
86
86
  u64,
87
87
  usize,
88
88
  *mut core::ffi::c_void,
89
- ) -> crate::base::Status};
89
+ ) -> crate::base::Status;
90
90
 
91
- pub type ProtocolConfig = eficall! {fn(
91
+ pub type ProtocolConfig = unsafe extern "efiapi" fn(
92
92
  *mut Protocol,
93
93
  Width,
94
94
  u32,
95
95
  usize,
96
96
  *mut core::ffi::c_void,
97
- ) -> crate::base::Status};
97
+ ) -> crate::base::Status;
98
98
 
99
- pub type ProtocolCopyMem = eficall! {fn(
99
+ pub type ProtocolCopyMem = unsafe extern "efiapi" fn(
100
100
  *mut Protocol,
101
101
  Width,
102
102
  u8,
@@ -104,70 +104,70 @@ pub type ProtocolCopyMem = eficall! {fn(
104
104
  u8,
105
105
  u64,
106
106
  usize,
107
- ) -> crate::base::Status};
107
+ ) -> crate::base::Status;
108
108
 
109
- pub type ProtocolMap = eficall! {fn(
109
+ pub type ProtocolMap = unsafe extern "efiapi" fn(
110
110
  *mut Protocol,
111
111
  Operation,
112
112
  *mut core::ffi::c_void,
113
113
  *mut usize,
114
114
  *mut crate::base::PhysicalAddress,
115
115
  *mut *mut core::ffi::c_void,
116
- ) -> crate::base::Status};
116
+ ) -> crate::base::Status;
117
117
 
118
- pub type ProtocolUnmap = eficall! {fn(
118
+ pub type ProtocolUnmap = unsafe extern "efiapi" fn(
119
119
  *mut Protocol,
120
120
  *mut core::ffi::c_void,
121
- ) -> crate::base::Status};
121
+ ) -> crate::base::Status;
122
122
 
123
- pub type ProtocolAllocateBuffer = eficall! {fn(
123
+ pub type ProtocolAllocateBuffer = unsafe extern "efiapi" fn(
124
124
  *mut Protocol,
125
125
  crate::system::AllocateType,
126
126
  crate::system::MemoryType,
127
127
  usize,
128
128
  *mut *mut core::ffi::c_void,
129
129
  Attribute,
130
- ) -> crate::base::Status};
130
+ ) -> crate::base::Status;
131
131
 
132
- pub type ProtocolFreeBuffer = eficall! {fn(
132
+ pub type ProtocolFreeBuffer = unsafe extern "efiapi" fn(
133
133
  *mut Protocol,
134
134
  usize,
135
135
  *mut core::ffi::c_void,
136
- ) -> crate::base::Status};
136
+ ) -> crate::base::Status;
137
137
 
138
- pub type ProtocolFlush = eficall! {fn(
138
+ pub type ProtocolFlush = unsafe extern "efiapi" fn(
139
139
  *mut Protocol,
140
- ) -> crate::base::Status};
140
+ ) -> crate::base::Status;
141
141
 
142
- pub type ProtocolGetLocation = eficall! {fn(
142
+ pub type ProtocolGetLocation = unsafe extern "efiapi" fn(
143
143
  *mut Protocol,
144
144
  *mut usize,
145
145
  *mut usize,
146
146
  *mut usize,
147
147
  *mut usize,
148
- ) -> crate::base::Status};
148
+ ) -> crate::base::Status;
149
149
 
150
- pub type ProtocolAttributes = eficall! {fn(
150
+ pub type ProtocolAttributes = unsafe extern "efiapi" fn(
151
151
  *mut Protocol,
152
152
  AttributeOperation,
153
153
  Attribute,
154
154
  *mut Attribute,
155
- ) -> crate::base::Status};
155
+ ) -> crate::base::Status;
156
156
 
157
- pub type ProtocolGetBarAttributes = eficall! {fn(
157
+ pub type ProtocolGetBarAttributes = unsafe extern "efiapi" fn(
158
158
  *mut Protocol,
159
159
  u8,
160
160
  *mut Attribute,
161
161
  *mut *mut core::ffi::c_void,
162
- ) -> crate::base::Status};
162
+ ) -> crate::base::Status;
163
163
 
164
- pub type ProtocolSetBarAttributes = eficall! {fn(
164
+ pub type ProtocolSetBarAttributes = unsafe extern "efiapi" fn(
165
165
  *mut Protocol,
166
166
  Attribute,
167
167
  u8,
168
168
  *mut u64,
169
169
  *mut u64,
170
- ) -> crate::base::Status};
170
+ ) -> crate::base::Status;
171
171
 
172
172
  #[repr(C)]
173
173
  pub struct Access {
@@ -19,24 +19,24 @@ pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
19
19
  &[0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d],
20
20
  );
21
21
 
22
- pub type ProtocolGetDriver = eficall! {fn(
22
+ pub type ProtocolGetDriver = unsafe extern "efiapi" fn(
23
23
  *mut Protocol,
24
24
  crate::base::Handle,
25
25
  *mut crate::base::Handle,
26
- ) -> crate::base::Status};
26
+ ) -> crate::base::Status;
27
27
 
28
- pub type ProtocolGetDriverPath = eficall! {fn(
28
+ pub type ProtocolGetDriverPath = unsafe extern "efiapi" fn(
29
29
  *mut Protocol,
30
30
  crate::base::Handle,
31
31
  *mut *mut crate::protocols::device_path::Protocol
32
- ) -> crate::base::Status};
32
+ ) -> crate::base::Status;
33
33
 
34
- pub type ProtocolDriverLoaded = eficall! {fn(
34
+ pub type ProtocolDriverLoaded = unsafe extern "efiapi" fn(
35
35
  *mut Protocol,
36
36
  crate::base::Handle,
37
37
  *mut crate::protocols::device_path::Protocol,
38
38
  crate::base::Handle,
39
- ) -> crate::base::Status};
39
+ ) -> crate::base::Status;
40
40
 
41
41
  #[repr(C)]
42
42
  pub struct Protocol {
@@ -63,18 +63,18 @@ pub const ALGORITHM_RAW: Algorithm = crate::base::Guid::from_fields(
63
63
  &[0x7f, 0xfd, 0xc4, 0xb6, 0x85, 0x61],
64
64
  );
65
65
 
66
- pub type ProtocolGetInfo = eficall! {fn(
66
+ pub type ProtocolGetInfo = unsafe extern "efiapi" fn(
67
67
  *mut Protocol,
68
68
  *mut usize,
69
69
  *mut Algorithm,
70
- ) -> crate::base::Status};
70
+ ) -> crate::base::Status;
71
71
 
72
- pub type ProtocolGetRng = eficall! {fn(
72
+ pub type ProtocolGetRng = unsafe extern "efiapi" fn(
73
73
  *mut Protocol,
74
74
  *mut Algorithm,
75
75
  usize,
76
76
  *mut u8,
77
- ) -> crate::base::Status};
77
+ ) -> crate::base::Status;
78
78
 
79
79
  #[repr(C)]
80
80
  pub struct Protocol {
@@ -3,15 +3,15 @@
3
3
  //! Provides services that are required to create and destroy child handles
4
4
  //! that support a given set of protocols.
5
5
 
6
- pub type ProtocolCreateChild = eficall! {fn(
6
+ pub type ProtocolCreateChild = unsafe extern "efiapi" fn(
7
7
  *mut Protocol,
8
8
  *mut crate::base::Handle,
9
- ) -> crate::base::Status};
9
+ ) -> crate::base::Status;
10
10
 
11
- pub type ProtocolDestroyChild = eficall! {fn(
11
+ pub type ProtocolDestroyChild = unsafe extern "efiapi" fn(
12
12
  *mut Protocol,
13
13
  crate::base::Handle,
14
- ) -> crate::base::Status};
14
+ ) -> crate::base::Status;
15
15
 
16
16
  #[repr(C)]
17
17
  pub struct Protocol {
@@ -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 {