Changes in / [7e1b130:b39eb79] in mainline
- Files:
-
- 16 added
- 5 edited
-
boot/arch/amd64/Makefile.inc (modified) (1 diff)
-
uspace/Makefile (modified) (1 diff)
-
uspace/app/init/init.c (modified) (1 diff)
-
uspace/drv/bus/isa/isa.c (modified) (6 diffs)
-
uspace/drv/bus/isa/isa.dev (modified) (1 diff)
-
uspace/drv/char/i8042/Makefile (added)
-
uspace/drv/char/i8042/buffer.h (added)
-
uspace/drv/char/i8042/i8042.c (added)
-
uspace/drv/char/i8042/i8042.h (added)
-
uspace/drv/char/i8042/i8042.ma (added)
-
uspace/drv/char/i8042/main.c (added)
-
uspace/drv/char/ps2mouse/Makefile (added)
-
uspace/drv/char/ps2mouse/main.c (added)
-
uspace/drv/char/ps2mouse/ps2mouse.c (added)
-
uspace/drv/char/ps2mouse/ps2mouse.h (added)
-
uspace/drv/char/ps2mouse/ps2mouse.ma (added)
-
uspace/drv/char/xtkbd/Makefile (added)
-
uspace/drv/char/xtkbd/main.c (added)
-
uspace/drv/char/xtkbd/xtkbd.c (added)
-
uspace/drv/char/xtkbd/xtkbd.h (added)
-
uspace/drv/char/xtkbd/xtkbd.ma (added)
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/amd64/Makefile.inc
r7e1b130 rb39eb79 39 39 bus/pci/pciintel \ 40 40 bus/isa \ 41 char/i8042 \ 41 42 char/ns8250 \ 43 char/ps2mouse \ 44 char/xtkbd \ 42 45 bus/usb/ehci\ 43 46 bus/usb/ohci \ -
uspace/Makefile
r7e1b130 rb39eb79 105 105 drv/infrastructure/root \ 106 106 drv/infrastructure/rootvirt \ 107 drv/char/i8042 \ 108 drv/char/ps2mouse \ 109 drv/char/xtkbd \ 107 110 drv/test/test1 \ 108 111 drv/test/test2 \ -
uspace/app/init/init.c
r7e1b130 rb39eb79 302 302 spawn("/srv/obio"); 303 303 srv_start("/srv/cuda_adb"); 304 srv_start("/srv/i8042");304 // srv_start("/srv/i8042"); 305 305 srv_start("/srv/s3c24ser"); 306 306 srv_start("/srv/s3c24ts"); -
uspace/drv/bus/isa/isa.c
r7e1b130 rb39eb79 52 52 #include <dirent.h> 53 53 #include <fcntl.h> 54 #include <ipc/irc.h> 55 #include <ipc/services.h> 56 #include <sysinfo.h> 57 #include <ns.h> 54 58 #include <sys/stat.h> 55 59 #include <ipc/irc.h> … … 109 113 sysarg_t apic; 110 114 sysarg_t i8259; 111 115 112 116 async_sess_t *irc_sess = NULL; 113 117 114 118 if (((sysinfo_get_value("apic", &apic) == EOK) && (apic)) 115 119 || ((sysinfo_get_value("i8259", &i8259) == EOK) && (i8259))) { … … 117 121 SERVICE_IRC, 0, 0); 118 122 } 119 123 120 124 if (!irc_sess) 121 125 return false; 122 126 123 127 assert(isa_fun); 124 128 const hw_resource_list_t *res = &isa_fun->hw_resources; … … 127 131 if (res->resources[i].type == INTERRUPT) { 128 132 const int irq = res->resources[i].res.interrupt.irq; 129 133 130 134 async_exch_t *exch = async_exchange_begin(irc_sess); 131 135 const int rc = 132 136 async_req_1_0(exch, IRC_ENABLE_INTERRUPT, irq); 133 137 async_exchange_end(exch); 134 138 135 139 if (rc != EOK) { 136 140 async_hangup(irc_sess); … … 139 143 } 140 144 } 141 145 142 146 async_hangup(irc_sess); 143 147 return true; … … 397 401 398 402 val = skip_spaces(val); 399 irq = (int)strtol(val, &end, 0x10);403 irq = (int)strtol(val, &end, 10); 400 404 401 405 if (val != end) -
uspace/drv/bus/isa/isa.dev
r7e1b130 rb39eb79 9 9 io_range 2f8 8 10 10 11 keyboard:12 match 100 isa/ keyboard11 i8042: 12 match 100 isa/i8042 13 13 irq 1 14 io_range 060 10 14 irq 12 15 io_range 060 5 16 15 17 16 18 ne2k:
Note:
See TracChangeset
for help on using the changeset viewer.
