Changes in / [b077886e:3052ff4] in mainline
- Files:
-
- 25 added
- 70 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/include/asm.h
rb077886e r3052ff4 422 422 asm volatile ( 423 423 "rsm %[mask]\n" 424 ";;\n"425 "srlz.d\n"426 424 :: [mask] "i" (PSR_PK_MASK) 427 425 ); -
kernel/arch/ia64/src/mm/as.c
rb077886e r3052ff4 73 73 rr.map.ps = PAGE_WIDTH; 74 74 rr_write(i, rr.word); 75 srlz_d();76 srlz_i();77 75 } 76 srlz_d(); 77 srlz_i(); 78 78 } 79 79 -
uspace/app/edit/edit.c
rb077886e r3052ff4 88 88 static pane_t pane; 89 89 90 static i nt scr_rows, scr_columns;90 static ipcarg_t scr_rows, scr_columns; 91 91 92 92 #define ROW_BUF_SIZE 4096 … … 362 362 { 363 363 int sh_rows, rows; 364 int i, j; 364 int i; 365 unsigned j; 365 366 366 367 sheet_get_num_rows(&doc.sh, &sh_rows); … … 451 452 /* Fill until the end of display area. */ 452 453 453 if (str_length(row_buf) < (unsigned)scr_columns)454 if (str_length(row_buf) < scr_columns) 454 455 fill = scr_columns - str_length(row_buf); 455 456 else -
uspace/app/tetris/screen.h
rb077886e r3052ff4 51 51 52 52 typedef struct { 53 i nt ws_row;54 i nt ws_col;53 ipcarg_t ws_row; 54 ipcarg_t ws_col; 55 55 } winsize_t; 56 56 -
uspace/lib/libc/generic/io/console.c
rb077886e r3052ff4 45 45 } 46 46 47 int console_get_size(int phone, i nt *cols, int *rows)47 int console_get_size(int phone, ipcarg_t *rows, ipcarg_t *cols) 48 48 { 49 ipcarg_t cols_v; 50 ipcarg_t rows_v; 51 int rc; 52 53 rc = async_req_0_2(phone, CONSOLE_GET_SIZE, &cols_v, &rows_v); 54 55 *cols = (int) cols_v; 56 *rows = (int) rows_v; 57 return rc; 49 return async_req_0_2(phone, CONSOLE_GET_SIZE, rows, cols); 58 50 } 59 51 … … 94 86 } 95 87 96 void console_goto(int phone, i nt col, int row)88 void console_goto(int phone, ipcarg_t row, ipcarg_t col) 97 89 { 98 async_msg_2(phone, CONSOLE_GOTO, col, row);90 async_msg_2(phone, CONSOLE_GOTO, row, col); 99 91 } 100 92 -
uspace/lib/libc/include/io/console.h
rb077886e r3052ff4 68 68 extern void console_clear(int phone); 69 69 70 extern int console_get_size(int phone, i nt *cols, int *rows);71 extern void console_goto(int phone, i nt col, int row);70 extern int console_get_size(int phone, ipcarg_t *rows, ipcarg_t *cols); 71 extern void console_goto(int phone, ipcarg_t row, ipcarg_t col); 72 72 73 73 extern void console_set_style(int phone, int style);
Note:
See TracChangeset
for help on using the changeset viewer.