html-to-markdown 2.27.1 → 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 (228) 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/plain_text.rs +64 -9
  23. data/rust-vendor/html-to-markdown-rs/src/converter/text_node.rs +2 -1
  24. data/rust-vendor/html-to-markdown-rs/tests/issue_216_217_regressions.rs +82 -0
  25. data/rust-vendor/html-to-markdown-rs/tests/plain_output_test.rs +59 -6
  26. data/rust-vendor/quote/.cargo-checksum.json +1 -1
  27. data/rust-vendor/quote/.cargo_vcs_info.json +1 -1
  28. data/rust-vendor/quote/.github/workflows/ci.yml +2 -2
  29. data/rust-vendor/quote/Cargo.lock +21 -21
  30. data/rust-vendor/quote/Cargo.toml +2 -2
  31. data/rust-vendor/quote/Cargo.toml.orig +2 -2
  32. data/rust-vendor/quote/README.md +0 -1
  33. data/rust-vendor/quote/src/lib.rs +1 -1
  34. data/rust-vendor/quote/src/to_tokens.rs +7 -0
  35. data/rust-vendor/quote/tests/ui/not-quotable.stderr +1 -1
  36. data/rust-vendor/quote/tests/ui/not-repeatable.stderr +3 -11
  37. data/rust-vendor/r-efi/.cargo-checksum.json +1 -1
  38. data/rust-vendor/r-efi/.cargo_vcs_info.json +1 -1
  39. data/rust-vendor/r-efi/AUTHORS +1 -0
  40. data/rust-vendor/r-efi/Cargo.lock +1 -1
  41. data/rust-vendor/r-efi/Cargo.toml +1 -3
  42. data/rust-vendor/r-efi/Cargo.toml.orig +1 -5
  43. data/rust-vendor/r-efi/NEWS.md +16 -0
  44. data/rust-vendor/r-efi/src/base.rs +1 -1
  45. data/rust-vendor/r-efi/src/lib.rs +27 -12
  46. data/rust-vendor/r-efi/src/protocols/absolute_pointer.rs +4 -4
  47. data/rust-vendor/r-efi/src/protocols/block_io.rs +8 -8
  48. data/rust-vendor/r-efi/src/protocols/bus_specific_driver_override.rs +2 -2
  49. data/rust-vendor/r-efi/src/protocols/debug_support.rs +10 -10
  50. data/rust-vendor/r-efi/src/protocols/debugport.rs +8 -8
  51. data/rust-vendor/r-efi/src/protocols/decompress.rs +4 -4
  52. data/rust-vendor/r-efi/src/protocols/device_path_from_text.rs +4 -4
  53. data/rust-vendor/r-efi/src/protocols/device_path_to_text.rs +4 -4
  54. data/rust-vendor/r-efi/src/protocols/device_path_utilities.rs +16 -16
  55. data/rust-vendor/r-efi/src/protocols/disk_io.rs +4 -4
  56. data/rust-vendor/r-efi/src/protocols/disk_io2.rs +8 -8
  57. data/rust-vendor/r-efi/src/protocols/driver_binding.rs +6 -6
  58. data/rust-vendor/r-efi/src/protocols/driver_diagnostics2.rs +2 -2
  59. data/rust-vendor/r-efi/src/protocols/driver_family_override.rs +2 -2
  60. data/rust-vendor/r-efi/src/protocols/file.rs +28 -28
  61. data/rust-vendor/r-efi/src/protocols/graphics_output.rs +6 -6
  62. data/rust-vendor/r-efi/src/protocols/hii_database.rs +24 -24
  63. data/rust-vendor/r-efi/src/protocols/hii_font.rs +8 -8
  64. data/rust-vendor/r-efi/src/protocols/hii_font_ex.rs +10 -10
  65. data/rust-vendor/r-efi/src/protocols/hii_string.rs +10 -10
  66. data/rust-vendor/r-efi/src/protocols/ip4.rs +16 -16
  67. data/rust-vendor/r-efi/src/protocols/ip6.rs +18 -18
  68. data/rust-vendor/r-efi/src/protocols/load_file.rs +2 -2
  69. data/rust-vendor/r-efi/src/protocols/loaded_image.rs +2 -2
  70. data/rust-vendor/r-efi/src/protocols/managed_network.rs +16 -16
  71. data/rust-vendor/r-efi/src/protocols/memory_attribute.rs +6 -6
  72. data/rust-vendor/r-efi/src/protocols/mp_services.rs +15 -15
  73. data/rust-vendor/r-efi/src/protocols/pci_io.rs +26 -26
  74. data/rust-vendor/r-efi/src/protocols/platform_driver_override.rs +6 -6
  75. data/rust-vendor/r-efi/src/protocols/rng.rs +4 -4
  76. data/rust-vendor/r-efi/src/protocols/service_binding.rs +4 -4
  77. data/rust-vendor/r-efi/src/protocols/shell.rs +81 -81
  78. data/rust-vendor/r-efi/src/protocols/shell_dynamic_command.rs +4 -4
  79. data/rust-vendor/r-efi/src/protocols/simple_file_system.rs +2 -2
  80. data/rust-vendor/r-efi/src/protocols/simple_network.rs +26 -26
  81. data/rust-vendor/r-efi/src/protocols/simple_text_input.rs +4 -4
  82. data/rust-vendor/r-efi/src/protocols/simple_text_input_ex.rs +11 -11
  83. data/rust-vendor/r-efi/src/protocols/simple_text_output.rs +18 -18
  84. data/rust-vendor/r-efi/src/protocols/tcp4.rs +20 -20
  85. data/rust-vendor/r-efi/src/protocols/tcp6.rs +18 -18
  86. data/rust-vendor/r-efi/src/protocols/timestamp.rs +3 -3
  87. data/rust-vendor/r-efi/src/protocols/udp4.rs +16 -16
  88. data/rust-vendor/r-efi/src/protocols/udp6.rs +14 -14
  89. data/rust-vendor/r-efi/src/system.rs +115 -115
  90. data/rust-vendor/r-efi/src/vendor/intel/console_control.rs +6 -6
  91. data/rust-vendor/r-efi-5.3.0/.cargo-checksum.json +1 -0
  92. data/rust-vendor/r-efi-5.3.0/.cargo_vcs_info.json +6 -0
  93. data/rust-vendor/r-efi-5.3.0/.github/workflows/publish.yml +39 -0
  94. data/rust-vendor/r-efi-5.3.0/.github/workflows/rust-tests.yml +125 -0
  95. data/rust-vendor/r-efi-5.3.0/AUTHORS +74 -0
  96. data/rust-vendor/r-efi-5.3.0/Cargo.lock +16 -0
  97. data/rust-vendor/r-efi-5.3.0/Cargo.toml +70 -0
  98. data/rust-vendor/r-efi-5.3.0/Cargo.toml.orig +51 -0
  99. data/rust-vendor/r-efi-5.3.0/Makefile +85 -0
  100. data/rust-vendor/r-efi-5.3.0/NEWS.md +301 -0
  101. data/rust-vendor/r-efi-5.3.0/README.md +99 -0
  102. data/rust-vendor/r-efi-5.3.0/examples/freestanding.rs +34 -0
  103. data/rust-vendor/r-efi-5.3.0/examples/gop-query.rs +188 -0
  104. data/rust-vendor/r-efi-5.3.0/examples/hello-world.rs +55 -0
  105. data/rust-vendor/r-efi-5.3.0/src/base.rs +993 -0
  106. data/rust-vendor/r-efi-5.3.0/src/hii.rs +1300 -0
  107. data/rust-vendor/r-efi-5.3.0/src/lib.rs +182 -0
  108. data/rust-vendor/r-efi-5.3.0/src/protocols/absolute_pointer.rs +69 -0
  109. data/rust-vendor/r-efi-5.3.0/src/protocols/block_io.rs +70 -0
  110. data/rust-vendor/r-efi-5.3.0/src/protocols/bus_specific_driver_override.rs +32 -0
  111. data/rust-vendor/r-efi-5.3.0/src/protocols/debug_support.rs +835 -0
  112. data/rust-vendor/r-efi-5.3.0/src/protocols/debugport.rs +42 -0
  113. data/rust-vendor/r-efi-5.3.0/src/protocols/decompress.rs +37 -0
  114. data/rust-vendor/r-efi-5.3.0/src/protocols/device_path.rs +82 -0
  115. data/rust-vendor/r-efi-5.3.0/src/protocols/device_path_from_text.rs +26 -0
  116. data/rust-vendor/r-efi-5.3.0/src/protocols/device_path_to_text.rs +30 -0
  117. data/rust-vendor/r-efi-5.3.0/src/protocols/device_path_utilities.rs +63 -0
  118. data/rust-vendor/r-efi-5.3.0/src/protocols/disk_io.rs +40 -0
  119. data/rust-vendor/r-efi-5.3.0/src/protocols/disk_io2.rs +58 -0
  120. data/rust-vendor/r-efi-5.3.0/src/protocols/driver_binding.rs +42 -0
  121. data/rust-vendor/r-efi-5.3.0/src/protocols/driver_diagnostics2.rs +38 -0
  122. data/rust-vendor/r-efi-5.3.0/src/protocols/driver_family_override.rs +23 -0
  123. data/rust-vendor/r-efi-5.3.0/src/protocols/file.rs +183 -0
  124. data/rust-vendor/r-efi-5.3.0/src/protocols/graphics_output.rs +103 -0
  125. data/rust-vendor/r-efi-5.3.0/src/protocols/hii_database.rs +299 -0
  126. data/rust-vendor/r-efi-5.3.0/src/protocols/hii_font.rs +87 -0
  127. data/rust-vendor/r-efi-5.3.0/src/protocols/hii_font_ex.rs +107 -0
  128. data/rust-vendor/r-efi-5.3.0/src/protocols/hii_package_list.rs +14 -0
  129. data/rust-vendor/r-efi-5.3.0/src/protocols/hii_string.rs +71 -0
  130. data/rust-vendor/r-efi-5.3.0/src/protocols/ip4.rs +202 -0
  131. data/rust-vendor/r-efi-5.3.0/src/protocols/ip6.rs +264 -0
  132. data/rust-vendor/r-efi-5.3.0/src/protocols/load_file.rs +26 -0
  133. data/rust-vendor/r-efi-5.3.0/src/protocols/load_file2.rs +15 -0
  134. data/rust-vendor/r-efi-5.3.0/src/protocols/loaded_image.rs +39 -0
  135. data/rust-vendor/r-efi-5.3.0/src/protocols/loaded_image_device_path.rs +13 -0
  136. data/rust-vendor/r-efi-5.3.0/src/protocols/managed_network.rs +147 -0
  137. data/rust-vendor/r-efi-5.3.0/src/protocols/memory_attribute.rs +40 -0
  138. data/rust-vendor/r-efi-5.3.0/src/protocols/mp_services.rs +121 -0
  139. data/rust-vendor/r-efi-5.3.0/src/protocols/pci_io.rs +203 -0
  140. data/rust-vendor/r-efi-5.3.0/src/protocols/platform_driver_override.rs +46 -0
  141. data/rust-vendor/r-efi-5.3.0/src/protocols/rng.rs +83 -0
  142. data/rust-vendor/r-efi-5.3.0/src/protocols/service_binding.rs +20 -0
  143. data/rust-vendor/r-efi-5.3.0/src/protocols/shell.rs +295 -0
  144. data/rust-vendor/r-efi-5.3.0/src/protocols/shell_dynamic_command.rs +33 -0
  145. data/rust-vendor/r-efi-5.3.0/src/protocols/shell_parameters.rs +23 -0
  146. data/rust-vendor/r-efi-5.3.0/src/protocols/simple_file_system.rs +26 -0
  147. data/rust-vendor/r-efi-5.3.0/src/protocols/simple_network.rs +196 -0
  148. data/rust-vendor/r-efi-5.3.0/src/protocols/simple_text_input.rs +38 -0
  149. data/rust-vendor/r-efi-5.3.0/src/protocols/simple_text_input_ex.rs +85 -0
  150. data/rust-vendor/r-efi-5.3.0/src/protocols/simple_text_output.rs +86 -0
  151. data/rust-vendor/r-efi-5.3.0/src/protocols/tcp4.rs +224 -0
  152. data/rust-vendor/r-efi-5.3.0/src/protocols/tcp6.rs +202 -0
  153. data/rust-vendor/r-efi-5.3.0/src/protocols/timestamp.rs +32 -0
  154. data/rust-vendor/r-efi-5.3.0/src/protocols/udp4.rs +151 -0
  155. data/rust-vendor/r-efi-5.3.0/src/protocols/udp6.rs +137 -0
  156. data/rust-vendor/r-efi-5.3.0/src/protocols.rs +54 -0
  157. data/rust-vendor/r-efi-5.3.0/src/system.rs +1130 -0
  158. data/rust-vendor/r-efi-5.3.0/src/vendor/intel/console_control.rs +37 -0
  159. data/rust-vendor/r-efi-5.3.0/src/vendor.rs +10 -0
  160. data/rust-vendor/tokio/.cargo-checksum.json +1 -1
  161. data/rust-vendor/tokio/.cargo_vcs_info.json +1 -1
  162. data/rust-vendor/tokio/CHANGELOG.md +94 -0
  163. data/rust-vendor/tokio/Cargo.lock +1549 -0
  164. data/rust-vendor/tokio/Cargo.toml +96 -83
  165. data/rust-vendor/tokio/Cargo.toml.orig +7 -7
  166. data/rust-vendor/tokio/README.md +1 -1
  167. data/rust-vendor/tokio/src/fs/open_options.rs +4 -1
  168. data/rust-vendor/tokio/src/fs/read.rs +4 -1
  169. data/rust-vendor/tokio/src/fs/write.rs +4 -1
  170. data/rust-vendor/tokio/src/io/async_write.rs +3 -4
  171. data/rust-vendor/tokio/src/io/poll_evented.rs +23 -1
  172. data/rust-vendor/tokio/src/io/stderr.rs +15 -1
  173. data/rust-vendor/tokio/src/io/stdout.rs +14 -0
  174. data/rust-vendor/tokio/src/io/util/async_write_ext.rs +2 -2
  175. data/rust-vendor/tokio/src/io/util/write_buf.rs +11 -2
  176. data/rust-vendor/tokio/src/lib.rs +12 -28
  177. data/rust-vendor/tokio/src/macros/select.rs +6 -8
  178. data/rust-vendor/tokio/src/net/tcp/socket.rs +25 -1
  179. data/rust-vendor/tokio/src/net/tcp/stream.rs +40 -1
  180. data/rust-vendor/tokio/src/process/unix/pidfd_reaper.rs +1 -41
  181. data/rust-vendor/tokio/src/runtime/blocking/pool.rs +18 -14
  182. data/rust-vendor/tokio/src/runtime/builder.rs +10 -4
  183. data/rust-vendor/tokio/src/runtime/handle.rs +3 -2
  184. data/rust-vendor/tokio/src/runtime/io/driver/uring.rs +49 -61
  185. data/rust-vendor/tokio/src/runtime/io/driver.rs +6 -5
  186. data/rust-vendor/tokio/src/runtime/mod.rs +20 -1
  187. data/rust-vendor/tokio/src/runtime/runtime.rs +71 -1
  188. data/rust-vendor/tokio/src/runtime/scheduler/current_thread/mod.rs +24 -8
  189. data/rust-vendor/tokio/src/runtime/scheduler/multi_thread/worker.rs +5 -0
  190. data/rust-vendor/tokio/src/runtime/task/core.rs +1 -0
  191. data/rust-vendor/tokio/src/runtime/task/join.rs +7 -3
  192. data/rust-vendor/tokio/src/runtime/task/list.rs +5 -3
  193. data/rust-vendor/tokio/src/runtime/task/mod.rs +0 -5
  194. data/rust-vendor/tokio/src/runtime/tests/loom_blocking.rs +39 -1
  195. data/rust-vendor/tokio/src/signal/mod.rs +6 -17
  196. data/rust-vendor/tokio/src/signal/registry.rs +1 -1
  197. data/rust-vendor/tokio/src/signal/unix.rs +24 -44
  198. data/rust-vendor/tokio/src/signal/windows/sys.rs +52 -64
  199. data/rust-vendor/tokio/src/signal/windows.rs +35 -23
  200. data/rust-vendor/tokio/src/sync/mpsc/mod.rs +3 -1
  201. data/rust-vendor/tokio/src/sync/oneshot.rs +13 -0
  202. data/rust-vendor/tokio/src/sync/rwlock.rs +4 -5
  203. data/rust-vendor/tokio/src/sync/tests/loom_oneshot.rs +27 -1
  204. data/rust-vendor/tokio/src/task/blocking.rs +16 -1
  205. data/rust-vendor/tokio/src/task/builder.rs +2 -2
  206. data/rust-vendor/tokio/src/task/mod.rs +1 -1
  207. data/rust-vendor/tokio/src/task/spawn.rs +8 -3
  208. data/rust-vendor/tokio/src/task/yield_now.rs +13 -23
  209. data/rust-vendor/tokio/src/time/clock.rs +62 -0
  210. data/rust-vendor/tokio/src/util/memchr.rs +32 -4
  211. data/rust-vendor/tokio/src/util/sharded_list.rs +6 -4
  212. data/rust-vendor/tokio/tests/fs_link.rs +54 -0
  213. data/rust-vendor/tokio/tests/io_async_fd_memory_leak.rs +209 -0
  214. data/rust-vendor/tokio/tests/io_write_buf.rs +56 -0
  215. data/rust-vendor/tokio/tests/process_issue_7144.rs +8 -0
  216. data/rust-vendor/tokio/tests/rt_basic.rs +41 -0
  217. data/rust-vendor/tokio/tests/rt_common_before_park.rs +92 -0
  218. data/rust-vendor/tokio/tests/rt_metrics.rs +1 -1
  219. data/rust-vendor/tokio/tests/rt_panic.rs +12 -0
  220. data/rust-vendor/tokio/tests/rt_shutdown_err.rs +82 -0
  221. data/rust-vendor/tokio/tests/rt_threaded.rs +49 -1
  222. data/rust-vendor/tokio/tests/rt_unstable_metrics.rs +32 -0
  223. data/rust-vendor/tokio/tests/tcp_connect.rs +2 -3
  224. data/rust-vendor/tokio/tests/tcp_shutdown.rs +1 -3
  225. data/rust-vendor/tokio/tests/tcp_socket.rs +3 -4
  226. data/rust-vendor/tokio/tests/tcp_stream.rs +3 -0
  227. metadata +78 -3
  228. data/rust-vendor/getrandom/src/utils/lazy.rs +0 -64
@@ -91,48 +91,48 @@ pub struct FragmentData {
91
91
  pub fragment_buffer: *mut core::ffi::c_void,
92
92
  }
93
93
 
94
- pub type ProtocolGetModeData = eficall! {fn(
94
+ pub type ProtocolGetModeData = unsafe extern "efiapi" fn(
95
95
  *mut Protocol,
96
96
  *mut ConfigData,
97
97
  *mut crate::protocols::simple_network::Mode,
98
- ) -> crate::base::Status};
98
+ ) -> crate::base::Status;
99
99
 
100
- pub type ProtocolConfigure = eficall! {fn(
100
+ pub type ProtocolConfigure = unsafe extern "efiapi" fn(
101
101
  *mut Protocol,
102
102
  *mut ConfigData,
103
- ) -> crate::base::Status};
103
+ ) -> crate::base::Status;
104
104
 
105
- pub type ProtocolMcastIpToMac = eficall! {fn(
105
+ pub type ProtocolMcastIpToMac = unsafe extern "efiapi" fn(
106
106
  *mut Protocol,
107
107
  crate::base::Boolean,
108
108
  *mut crate::base::IpAddress,
109
109
  *mut crate::base::MacAddress,
110
- ) -> crate::base::Status};
110
+ ) -> crate::base::Status;
111
111
 
112
- pub type ProtocolGroups = eficall! {fn(
112
+ pub type ProtocolGroups = unsafe extern "efiapi" fn(
113
113
  *mut Protocol,
114
114
  crate::base::Boolean,
115
115
  *mut crate::base::MacAddress,
116
- ) -> crate::base::Status};
116
+ ) -> crate::base::Status;
117
117
 
118
- pub type ProtocolTransmit = eficall! {fn(
118
+ pub type ProtocolTransmit = unsafe extern "efiapi" fn(
119
119
  *mut Protocol,
120
120
  *mut CompletionToken,
121
- ) -> crate::base::Status};
121
+ ) -> crate::base::Status;
122
122
 
123
- pub type ProtocolReceive = eficall! {fn(
123
+ pub type ProtocolReceive = unsafe extern "efiapi" fn(
124
124
  *mut Protocol,
125
125
  *mut CompletionToken,
126
- ) -> crate::base::Status};
126
+ ) -> crate::base::Status;
127
127
 
128
- pub type ProtocolCancel = eficall! {fn(
128
+ pub type ProtocolCancel = unsafe extern "efiapi" fn(
129
129
  *mut Protocol,
130
130
  *mut CompletionToken,
131
- ) -> crate::base::Status};
131
+ ) -> crate::base::Status;
132
132
 
133
- pub type ProtocolPoll = eficall! {fn(
133
+ pub type ProtocolPoll = unsafe extern "efiapi" fn(
134
134
  *mut Protocol,
135
- ) -> crate::base::Status};
135
+ ) -> crate::base::Status;
136
136
 
137
137
  #[repr(C)]
138
138
  pub struct Protocol {
@@ -11,26 +11,26 @@ pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
11
11
  &[0xbf, 0x1d, 0x57, 0xd0, 0xb1, 0x89],
12
12
  );
13
13
 
14
- pub type GetMemoryAttributes = eficall! {fn(
14
+ pub type GetMemoryAttributes = unsafe extern "efiapi" fn(
15
15
  *mut Protocol,
16
16
  crate::base::PhysicalAddress,
17
17
  u64,
18
18
  *mut u64,
19
- ) -> crate::base::Status};
19
+ ) -> crate::base::Status;
20
20
 
21
- pub type SetMemoryAttributes = eficall! {fn(
21
+ pub type SetMemoryAttributes = unsafe extern "efiapi" fn(
22
22
  *mut Protocol,
23
23
  crate::base::PhysicalAddress,
24
24
  u64,
25
25
  u64,
26
- ) -> crate::base::Status};
26
+ ) -> crate::base::Status;
27
27
 
28
- pub type ClearMemoryAttributes = eficall! {fn(
28
+ pub type ClearMemoryAttributes = unsafe extern "efiapi" fn(
29
29
  *mut Protocol,
30
30
  crate::base::PhysicalAddress,
31
31
  u64,
32
32
  u64,
33
- ) -> crate::base::Status};
33
+ ) -> crate::base::Status;
34
34
 
35
35
  #[repr(C)]
36
36
  pub struct Protocol {
@@ -57,21 +57,21 @@ pub struct ProcessorInformation {
57
57
  pub extended_information: ExtendedProcessorInformation,
58
58
  }
59
59
 
60
- pub type ApProcedure = eficall! {fn(*mut core::ffi::c_void)};
60
+ pub type ApProcedure = unsafe extern "efiapi" fn(*mut core::ffi::c_void);
61
61
 
62
- pub type GetNumberOfProcessors = eficall! {fn(
62
+ pub type GetNumberOfProcessors = unsafe extern "efiapi" fn(
63
63
  *mut Protocol,
64
64
  *mut usize,
65
65
  *mut usize,
66
- ) -> crate::base::Status};
66
+ ) -> crate::base::Status;
67
67
 
68
- pub type GetProcessorInfo = eficall! {fn(
68
+ pub type GetProcessorInfo = unsafe extern "efiapi" fn(
69
69
  *mut Protocol,
70
70
  usize,
71
71
  *mut ProcessorInformation,
72
- ) -> crate::base::Status};
72
+ ) -> crate::base::Status;
73
73
 
74
- pub type StartupAllAps = eficall! {fn(
74
+ pub type StartupAllAps = unsafe extern "efiapi" fn(
75
75
  *mut Protocol,
76
76
  ApProcedure,
77
77
  crate::base::Boolean,
@@ -79,9 +79,9 @@ pub type StartupAllAps = eficall! {fn(
79
79
  usize,
80
80
  *mut core::ffi::c_void,
81
81
  *mut *mut usize,
82
- ) -> crate::base::Status};
82
+ ) -> crate::base::Status;
83
83
 
84
- pub type StartupThisAp = eficall! {fn(
84
+ pub type StartupThisAp = unsafe extern "efiapi" fn(
85
85
  *mut Protocol,
86
86
  ApProcedure,
87
87
  usize,
@@ -89,25 +89,25 @@ pub type StartupThisAp = eficall! {fn(
89
89
  usize,
90
90
  *mut core::ffi::c_void,
91
91
  *mut crate::base::Boolean,
92
- ) -> crate::base::Status};
92
+ ) -> crate::base::Status;
93
93
 
94
- pub type SwitchBsp = eficall! {fn(
94
+ pub type SwitchBsp = unsafe extern "efiapi" fn(
95
95
  *mut Protocol,
96
96
  usize,
97
97
  crate::base::Boolean,
98
- ) -> crate::base::Status};
98
+ ) -> crate::base::Status;
99
99
 
100
- pub type EnableDisableAp = eficall! {fn(
100
+ pub type EnableDisableAp = unsafe extern "efiapi" fn(
101
101
  *mut Protocol,
102
102
  usize,
103
103
  crate::base::Boolean,
104
104
  *mut u32,
105
- ) -> crate::base::Status};
105
+ ) -> crate::base::Status;
106
106
 
107
- pub type WhoAmI = eficall! {fn(
107
+ pub type WhoAmI = unsafe extern "efiapi" fn(
108
108
  *mut Protocol,
109
109
  *mut usize,
110
- ) -> crate::base::Status};
110
+ ) -> crate::base::Status;
111
111
 
112
112
  #[repr(C)]
113
113
  pub struct Protocol {
@@ -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 {