Changeset 53e197f in mainline
- Timestamp:
- 2010-05-04T13:50:11Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 32e7411
- Parents:
- ae4235c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/fb/serial_console.c
rae4235c r53e197f 352 352 ipcarg_t w; 353 353 ipcarg_t h; 354 attrs_t attr;355 354 ssize_t rows; 356 355 … … 430 429 break; 431 430 case FB_SET_STYLE: 432 attr.t = at_style;433 attr.a.s.style = IPC_GET_ARG1(call);431 cur_attr.t = at_style; 432 cur_attr.a.s.style = IPC_GET_ARG1(call); 434 433 serial_set_attrs(&cur_attr); 435 434 retval = 0; 436 435 break; 437 436 case FB_SET_COLOR: 438 attr.t = at_idx;439 attr.a.i.fg_color = IPC_GET_ARG1(call);440 attr.a.i.bg_color = IPC_GET_ARG2(call);441 attr.a.i.flags = IPC_GET_ARG3(call);437 cur_attr.t = at_idx; 438 cur_attr.a.i.fg_color = IPC_GET_ARG1(call); 439 cur_attr.a.i.bg_color = IPC_GET_ARG2(call); 440 cur_attr.a.i.flags = IPC_GET_ARG3(call); 442 441 serial_set_attrs(&cur_attr); 443 442 retval = 0; 444 443 break; 445 444 case FB_SET_RGB_COLOR: 446 attr.t = at_rgb;447 attr.a.r.fg_color = IPC_GET_ARG1(call);448 attr.a.r.bg_color = IPC_GET_ARG2(call);445 cur_attr.t = at_rgb; 446 cur_attr.a.r.fg_color = IPC_GET_ARG1(call); 447 cur_attr.a.r.bg_color = IPC_GET_ARG2(call); 449 448 serial_set_attrs(&cur_attr); 450 449 retval = 0;
Note:
See TracChangeset
for help on using the changeset viewer.