fix(atapi): fix int size in atapi_drive struct
This commit is contained in:
parent
7a7d87b02a
commit
ba318bb0e7
@ -2,13 +2,15 @@
|
|||||||
#define ATAPI_H
|
#define ATAPI_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
struct atapi_drive
|
struct atapi_drive
|
||||||
{
|
{
|
||||||
uint8_t reg;
|
uint16_t reg;
|
||||||
uint8_t drive;
|
uint16_t drive;
|
||||||
};
|
};
|
||||||
|
|
||||||
void discover_atapi_drive(void);
|
void discover_atapi_drive(void);
|
||||||
|
void *read_block(size_t lba);
|
||||||
|
|
||||||
#endif /* !ATAPI_H */
|
#endif /* !ATAPI_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user