Changeset 79ae36dd in mainline for uspace/srv/hid/fb
- Timestamp:
- 2011-06-08T19:01:55Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0eff68e
- Parents:
- 764d71e
- Location:
- uspace/srv/hid/fb
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/fb/ega.c
r764d71e r79ae36dd 52 52 #include <io/screenbuffer.h> 53 53 #include <sys/types.h> 54 55 54 #include "ega.h" 56 55 #include "main.h" 56 57 // FIXME: remove this header 58 #include <kernel/ipc/ipc_methods.h> 57 59 58 60 #define MAX_SAVED_SCREENS 256 … … 291 293 int retval; 292 294 293 switch (IPC_GET_IMETHOD(call)) { 294 case IPC_M_PHONE_HUNGUP: 295 if (!IPC_GET_IMETHOD(call)) { 295 296 client_connected = 0; 296 297 async_answer_0(callid, EOK); … … 298 299 /* Exit thread */ 299 300 return; 301 } 302 303 switch (IPC_GET_IMETHOD(call)) { 300 304 case IPC_M_SHARE_OUT: 301 305 /* We accept one area for data interchange */ -
uspace/srv/hid/fb/fb.c
r764d71e r79ae36dd 59 59 #include <byteorder.h> 60 60 #include <io/screenbuffer.h> 61 62 61 #include "font-8x16.h" 63 62 #include "fb.h" 64 63 #include "main.h" 65 64 #include "ppm.h" 66 67 65 #include "pointer.xbm" 68 66 #include "pointer_mask.xbm" 67 68 // FIXME: remove this header 69 #include <kernel/ipc/ipc_methods.h> 69 70 70 71 #define DEFAULT_BGCOLOR 0xf0f0f0 … … 1620 1621 continue; 1621 1622 1622 switch (IPC_GET_IMETHOD(call)) { 1623 case IPC_M_PHONE_HUNGUP: 1623 if (!IPC_GET_IMETHOD(call)) { 1624 1624 client_connected = false; 1625 1625 … … 1630 1630 /* Exit thread */ 1631 1631 return; 1632 } 1632 1633 1634 switch (IPC_GET_IMETHOD(call)) { 1633 1635 case FB_PUTCHAR: 1634 1636 ch = IPC_GET_ARG1(call); -
uspace/srv/hid/fb/main.c
r764d71e r79ae36dd 28 28 29 29 #include <ipc/services.h> 30 #include < ipc/ns.h>30 #include <ns.h> 31 31 #include <sysinfo.h> 32 32 #include <async.h> -
uspace/srv/hid/fb/serial_console.c
r764d71e r79ae36dd 52 52 #include "serial_console.h" 53 53 54 // FIXME: remove this header 55 #include <kernel/ipc/ipc_methods.h> 56 54 57 #define MAX_CONTROL 20 55 58 … … 344 347 int retval; 345 348 346 switch (IPC_GET_IMETHOD(call)) { 347 case IPC_M_PHONE_HUNGUP: 349 if (!IPC_GET_IMETHOD(call)) { 348 350 client_connected = 0; 349 351 async_answer_0(callid, EOK); … … 351 353 /* Exit thread */ 352 354 return; 355 } 356 357 switch (IPC_GET_IMETHOD(call)) { 353 358 case IPC_M_SHARE_OUT: 354 359 /* We accept one area for data interchange */
Note:
See TracChangeset
for help on using the changeset viewer.