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