begin ahci driver
This commit is contained in:
parent
ce430f490d
commit
87146087ca
7 changed files with 529 additions and 2 deletions
|
|
@ -24,5 +24,6 @@
|
|||
void yield();
|
||||
|
||||
typedef uintptr_t paddr_t;
|
||||
typedef uint32_t paddr32_t;
|
||||
|
||||
#endif /* _COMMON_H_ */
|
||||
|
|
|
|||
11
include/kernel/irq.h
Normal file
11
include/kernel/irq.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#ifndef _IRQ_H_
|
||||
#define _IRQ_H_
|
||||
|
||||
#include <kernel/common.h>
|
||||
|
||||
int irq_map(uint8_t irq, uint8_t ist, void *func);
|
||||
void irq_unmap(uint8_t irq);
|
||||
int irq_highest_free();
|
||||
|
||||
#endif /* _IRQ_H_ */
|
||||
Loading…
Reference in a new issue