Squash commits for public release
This commit is contained in:
20
kernel/include/drivers/io/arm/pl050.h
Normal file
20
kernel/include/drivers/io/arm/pl050.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef _KERNEL_DRIVERS_IO_ARM_PL050_H
|
||||
#define _KERNEL_DRIVERS_IO_ARM_PL050_H
|
||||
|
||||
#include <drivers/driver_manager.h>
|
||||
#include <libkern/mask.h>
|
||||
#include <libkern/types.h>
|
||||
|
||||
struct pl050_registers {
|
||||
uint32_t cr; // control register (rw)
|
||||
uint32_t stat; // status register (r)
|
||||
uint32_t data; // data register (rw)
|
||||
uint32_t clk; // clock divisor register (rw)
|
||||
uint32_t ir;
|
||||
};
|
||||
typedef struct pl050_registers pl050_registers_t;
|
||||
|
||||
void pl050_keyboard_install();
|
||||
void pl050_mouse_install();
|
||||
|
||||
#endif //_KERNEL_DRIVERS_IO_ARM_PL050_H
|
||||
Reference in New Issue
Block a user