From dbf1190718c1a5adb4b2dc56e4d6da45429bb65e Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 6 Jun 2025 21:05:55 +0200 Subject: feat: The `APM` HW protocol implementation got improvements (ARM64) fix: BootNet: be more descriptive when trying to flash from network, and it fails. Signed-off-by: Amlal El Mahrouss --- dev/modules/APM/APM.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'dev/modules/APM') diff --git a/dev/modules/APM/APM.h b/dev/modules/APM/APM.h index b071a770..29de5114 100644 --- a/dev/modules/APM/APM.h +++ b/dev/modules/APM/APM.h @@ -21,15 +21,9 @@ enum { kAPMPowerCommandReboot = 0x08, }; -/// @brief Send a APM command into it's own DMA space. -/// @param base_dma the DMA base address. -/// @param cmd the command. -/// @return status code. -EXTERN_C Int32 apm_send_dma_command(Ptr64 register_addr, APMPowerCmd value); - /// @brief Send a APM command into it's own IO space. /// @param base_dma the IO base port. /// @param cmd the command. /// @return status code. -EXTERN_C Int32 apm_send_io_command(UInt16 cmd, APMPowerCmd value); +EXTERN_C Int32 apm_send_io_command(UInt16 cmd); } // namespace Kernel -- cgit v1.2.3