From 30e5aa322bf253cdf48cddf53a1c8a1e9720e705 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 24 Aug 2024 15:46:47 +0200 Subject: [CG] Add button control and worked on improving CG. Signed-off-by: Amlal El Mahrouss --- dev/ZBA/Sources/HEL/AMD64/BootATA.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dev/ZBA/Sources') diff --git a/dev/ZBA/Sources/HEL/AMD64/BootATA.cxx b/dev/ZBA/Sources/HEL/AMD64/BootATA.cxx index 0c2e557d..714e552d 100644 --- a/dev/ZBA/Sources/HEL/AMD64/BootATA.cxx +++ b/dev/ZBA/Sources/HEL/AMD64/BootATA.cxx @@ -31,7 +31,7 @@ Boolean boot_ata_detected(Void); STATIC Boolean boot_ata_wait_io(UInt16 IO) { - for (int i = 0; i < 4; i++) + for (int i = 0; i < 400; i++) In8(IO + ATA_REG_STATUS); ATAWaitForIO_Retry: -- cgit v1.2.3