Changeset 3756912 in mainline
- Timestamp:
- 2006-06-02T16:42:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e1c4849
- Parents:
- a805c24
- Location:
- console
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
console/console.c
ra805c24 r3756912 249 249 ipc_call_t call; 250 250 int consnum; 251 ipcarg_t arg1 ;251 ipcarg_t arg1, arg2; 252 252 253 253 if ((consnum = find_free_connection()) == CONSOLE_COUNT) { … … 265 265 while (1) { 266 266 callid = async_get_call(&call); 267 arg1 = arg2 = 0; 267 268 switch (IPC_GET_METHOD(call)) { 268 269 case IPC_M_PHONE_HUNGUP: … … 286 287 screenbuffer_goto(&(connections[consnum].screenbuffer), IPC_GET_ARG1(call), IPC_GET_ARG2(call)); 287 288 289 break; 290 case CONSOLE_GETSIZE: 291 arg1 = fb_info.cols; 292 arg2 = fb_info.rows; 288 293 break; 289 294 … … 304 309 break; 305 310 } 306 ipc_answer_fast(callid, 0, arg1, 0);311 ipc_answer_fast(callid, 0, arg1, arg2); 307 312 } 308 313 } -
console/console.h
ra805c24 r3756912 36 36 #define CONSOLE_CLEAR 1028 37 37 #define CONSOLE_GOTO 1029 38 #define CONSOLE_GETSIZE 1030 38 39 39 40 #endif
Note:
See TracChangeset
for help on using the changeset viewer.