Changeset 7aa94304 in mainline
- Timestamp:
- 2017-11-10T18:59:18Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 19397be
- Parents:
- 3a37751
- Files:
-
- 8 added
- 1 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/sparc64/Makefile.inc
r3a37751 r7aa94304 39 39 EXTRA_CFLAGS = -mcpu=ultrasparc -m64 -mno-fpu -mcmodel=medlow 40 40 41 ifeq ($(PROCESSOR), sun4v) 42 RD_DRVS_ESSENTIAL += \ 43 platform/sun4v \ 44 char/sun4v-con 45 else 41 46 RD_DRVS_ESSENTIAL += \ 42 47 platform/sun4u \ … … 48 53 RD_DRV_CFG += \ 49 54 bus/isa 55 endif 50 56 51 57 SOURCES = \ -
uspace/Makefile
r3a37751 r7aa94304 161 161 drv/char/ps2mouse \ 162 162 drv/char/ski-con \ 163 drv/char/sun4v-con \ 163 164 drv/char/xtkbd \ 164 165 drv/test/test1 \ … … 183 184 drv/platform/pc \ 184 185 drv/platform/ski \ 186 drv/platform/sun4v \ 185 187 drv/time/cmos-rtc 186 188 -
uspace/drv/char/msim-con/msim-con.c
r3a37751 r7aa94304 68 68 msim_cmds 69 69 }; 70 #include <stdio.h> 70 71 71 static void msim_irq_handler(ipc_callid_t iid, ipc_call_t *call, void *arg) 72 72 { … … 75 75 76 76 c = IPC_GET_ARG2(*call); 77 printf("key=%d\n", c); 77 78 78 if (con->client_sess != NULL) { 79 79 async_exch_t *exch = async_exchange_begin(con->client_sess); … … 90 90 int rc; 91 91 92 printf("msim_con_add\n");93 92 fun = ddf_fun_create(con->dev, fun_exposed, "a"); 94 93 if (fun == NULL) { … … 112 111 } 113 112 114 printf("msim_con_add: irq subscribe\n");115 116 113 msim_ranges[0].base = paddr; 117 114 msim_cmds[0].addr = (void *) paddr; … … 119 116 subscribed = true; 120 117 121 printf("msim_con_add: bind\n");122 118 rc = ddf_fun_bind(fun); 123 119 if (rc != EOK) { … … 126 122 } 127 123 128 printf("msim_con_add: DONE\n");129 124 return EOK; 130 125 error: … … 162 157 async_answer_0(iid, EOK); 163 158 164 printf("msim_con_connection\n");165 166 159 con = (msim_con_t *)ddf_dev_data_get(ddf_fun_get_dev((ddf_fun_t *)arg)); 167 160 … … 185 178 } else 186 179 async_answer_0(callid, ELIMIT); 187 printf("msim_con_connection: set client_sess\n");188 180 } else { 189 181 switch (method) { -
uspace/drv/platform/sun4u/sun4u.ma
r3a37751 r7aa94304 1 1 10 platform/sun4u 2 10 platform/sun4v -
uspace/srv/hid/input/Makefile
r3a37751 r7aa94304 40 40 port/adb_mouse.c \ 41 41 port/chardev.c \ 42 port/niagara.c \43 42 proto/adb.c \ 44 43 proto/mousedev.c \ -
uspace/srv/hid/input/input.c
r3a37751 r7aa94304 647 647 #endif 648 648 #if defined(UARCH_sparc64) && defined(PROCESSOR_sun4v) 649 kbd_add_dev(& niagara_port, &stty_ctl);649 kbd_add_dev(&chardev_port, &stty_ctl); 650 650 #endif 651 651 /* Silence warning on abs32le about kbd_add_dev() being unused */ -
uspace/srv/hid/input/kbd_port.h
r3a37751 r7aa94304 49 49 extern kbd_port_ops_t adb_port; 50 50 extern kbd_port_ops_t chardev_port; 51 extern kbd_port_ops_t niagara_port;52 51 extern kbd_port_ops_t ns16550_port; 53 52 -
uspace/srv/hid/input/port/chardev.c
r3a37751 r7aa94304 61 61 /** S3C24xx UART - Openmoko debug console */ 62 62 "char/s3c24xx_uart", 63 /** Ski console, MSIM console */63 /** Ski console, MSIM console, Sun4v console */ 64 64 "devices/\\hw\\console\\a" 65 65 };
Note:
See TracChangeset
for help on using the changeset viewer.