summarylogtreecommitdiffstats
path: root/seabios-gcc5.patch
diff options
context:
space:
mode:
authorDavid Sutton2015-07-04 21:48:19 -0500
committerDavid Sutton2015-07-04 21:48:19 -0500
commit13da07df55f234b0f3b8ae8cdb03b753d8768b14 (patch)
tree02acdd00082d080db10476fdff9e9d7d073df02e /seabios-gcc5.patch
downloadaur-13da07df55f234b0f3b8ae8cdb03b753d8768b14.tar.gz
Initial import
Diffstat (limited to 'seabios-gcc5.patch')
-rw-r--r--seabios-gcc5.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/seabios-gcc5.patch b/seabios-gcc5.patch
new file mode 100644
index 000000000000..0dbba3b4b7e5
--- /dev/null
+++ b/seabios-gcc5.patch
@@ -0,0 +1,28 @@
+--- a/seabios-dir-remote/src/kbd.c
++++ b/seabios-dir-remote/src/kbd.c
+@@ -117,8 +117,8 @@ static int
+ kbd_command(int command, u8 *param)
+ {
+ if (usb_kbd_active())
+- return stack_hop(command, (u32)param, usb_kbd_command);
+- return stack_hop(command, (u32)param, ps2_kbd_command);
++ return usb_kbd_command(command, param);
++ return ps2_kbd_command(command, param);
+ }
+
+ // read keyboard input
+--- a/seabios-dir-remote/src/mouse.c
++++ b/seabios-dir-remote/src/mouse.c
+@@ -27,8 +27,8 @@ static int
+ mouse_command(int command, u8 *param)
+ {
+ if (usb_mouse_active())
+- return stack_hop(command, (u32)param, usb_mouse_command);
+- return stack_hop(command, (u32)param, ps2_mouse_command);
++ return usb_mouse_command(command, param);
++ return ps2_mouse_command(command, param);
+ }
+
+ #define RET_SUCCESS 0x00
+
+--