git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chore: fix almost *ALL* warnings.
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
peripheral
/
ps2kbd.h
diff --git
a/lunaix-os/includes/lunaix/peripheral/ps2kbd.h
b/lunaix-os/includes/lunaix/peripheral/ps2kbd.h
index 3ebaa984aa1770e69f43dc78c6b6b0d5f7fad07d..9a246ea8d1b41d23413dcd9d8eb11ea07205a5e0 100644
(file)
--- a/
lunaix-os/includes/lunaix/peripheral/ps2kbd.h
+++ b/
lunaix-os/includes/lunaix/peripheral/ps2kbd.h
@@
-77,8
+77,8
@@
struct ps2_cmd_queue
* @param cmd
* @param args
*/
* @param cmd
* @param args
*/
-static u
int
8_t
-ps2_issue_cmd(char cmd, u
int
16_t arg);
+static u8_t
+ps2_issue_cmd(char cmd, u16_t arg);
/**
* @brief 向PS/2控制器的编码器端口(0x60)发送指令并等待返回代码。
/**
* @brief 向PS/2控制器的编码器端口(0x60)发送指令并等待返回代码。
@@
-88,8
+88,8
@@
ps2_issue_cmd(char cmd, uint16_t arg);
* @param cmd
* @param args
*/
* @param cmd
* @param args
*/
-static u
int
8_t
-ps2_issue_dev_cmd(char cmd, u
int
16_t arg);
+static u8_t
+ps2_issue_dev_cmd(char cmd, u16_t arg);
/**
* @brief 向PS/2控制器发送指令,不等待返回代码。
/**
* @brief 向PS/2控制器发送指令,不等待返回代码。
@@
-100,7
+100,7
@@
ps2_issue_dev_cmd(char cmd, uint16_t arg);
* @return char
*/
static void
* @return char
*/
static void
-ps2_post_cmd(u
int8_t port, char cmd, uint
16_t arg);
+ps2_post_cmd(u
8_t port, char cmd, u
16_t arg);
void
ps2_device_post_cmd(char cmd, char arg);
void
ps2_device_post_cmd(char cmd, char arg);