From 1598837f9a4cbb5b878c0af8b21a5f9c88da3d30 Mon Sep 17 00:00:00 2001 From: Michael Shaw Date: Sun, 7 May 2023 15:38:27 -0400 Subject: [PATCH] ahci: remove hello test --- dev/ahci.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/dev/ahci.c b/dev/ahci.c index 791ccf5..ebc465a 100644 --- a/dev/ahci.c +++ b/dev/ahci.c @@ -246,13 +246,5 @@ void ahci_init() pci_config_write_long(dev->bus, dev->slot, dev->func, 0x3C, tmp); irq_map(irq, ahci_irq_handler); - char *buf = kmalloc(512); - ahci_access_sectors(&sata_devices[1], 0, 1, (paddr_t)buf & (~hhdm_start), false); - buf[511] = 0; - printf("AHCI: %s\n", buf); - - memcpy(buf, "Hello, World!", 13); - ahci_access_sectors(&sata_devices[1], 0, 1, (paddr_t)buf & (~hhdm_start), true); - printf(LOG_SUCCESS "AHCI controller ready\n"); }