Changeset 220 for trunk/hal/x86_64/drivers
- Timestamp:
- Jul 17, 2017, 2:14:21 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/drivers/ioc_ata.c
r215 r220 23 23 #include <dev_ioc.h> 24 24 #include <hal_drivers.h> 25 #include <hal_kentry.h> 25 26 #include <thread.h> 26 27 #include <spinlock.h> … … 175 176 176 177 static void ioc_ata_cmd(xptr_t th_xp); 177 static void ioc_ata_isr(chdev_t *chdev);178 extern void x86_ioapic_ata0(); 178 179 179 180 void ioc_ata_init(chdev_t *chdev) 180 181 { 181 182 chdev->cmd = &ioc_ata_cmd; 182 chdev->isr = & ioc_ata_isr;183 chdev->isr = &x86_ioapic_ata0; 183 184 ata_init(); 184 185 } … … 217 218 } 218 219 219 static void ioc_ata_isr(chdev_t *chdev) 220 { 220 void ioc_ata_isr(hal_cpu_context_t *ctx) 221 { 222 x86_printf("rip = %Z\n", ctx->tf_rip); 223 221 224 x86_panic((char *)__func__); 222 225 }
Note: See TracChangeset
for help on using the changeset viewer.