Changeset b077886e in mainline
- Timestamp:
- 2009-09-13T23:41:37Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 99e5526, c35aabe
- Parents:
- 3052ff4 (diff), 2ac62cf (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Files:
-
- 55 added
- 10 deleted
- 6 edited
- 15 moved
Legend:
- Unmodified
- Added
- Removed
-
contrib/arch/uspace/lib/libfs/libfs_mount
r3052ff4 rb077886e 1 ? IPC_M_CONNECTION_CLONE ;2 ? IPC_M_DATA_WRITE /* mount options */ {1 ?fs.IPC_M_CONNECTION_CLONE ; 2 ?fs.IPC_M_DATA_WRITE /* mount options */ { 3 3 !fs.IPC_M_CONNECT_ME ; 4 4 !fs.VFS_OUT_MOUNTED ; -
contrib/arch/uspace/srv/fs/devfs/devfs.bp
r3052ff4 rb077886e 3 3 [../../../lib/libfs/fs_register] ; 4 4 ( 5 ? IPC_M_CONNECT_ME_TO ;5 ?fs.IPC_M_CONNECT_ME_TO ; 6 6 ( 7 ? VFS_OUT_MOUNTED {8 ? IPC_M_DATA_WRITE /* mount options */7 ?fs.VFS_OUT_MOUNTED { 8 ?fs.IPC_M_DATA_WRITE /* mount options */ 9 9 } + 10 10 11 ? VFS_OUT_MOUNT +11 ?fs.VFS_OUT_MOUNT + 12 12 13 ? VFS_OUT_LOOKUP {13 ?fs.VFS_OUT_LOOKUP { 14 14 ( 15 15 [../../../lib/libc/devmap_device_get_handle] ; … … 19 19 } + 20 20 21 ? VFS_OUT_READ {22 ? IPC_M_DATA_READ /* payload */ {21 ?fs.VFS_OUT_READ { 22 ?fs.IPC_M_DATA_READ /* payload */ { 23 23 ( 24 24 !dev.VFS_OUT_READ ; … … 32 32 } + 33 33 34 ? VFS_OUT_WRITE {35 ? IPC_M_DATA_WRITE /* payload */ {34 ?fs.VFS_OUT_WRITE { 35 ?fs.IPC_M_DATA_WRITE /* payload */ { 36 36 ( 37 37 !dev.VFS_OUT_WRITE ; … … 42 42 } + 43 43 44 ? VFS_OUT_TRUNCATE +44 ?fs.VFS_OUT_TRUNCATE + 45 45 46 ? VFS_OUT_CLOSE {46 ?fs.VFS_OUT_CLOSE { 47 47 !dev.IPC_M_PHONE_HUNGUP 48 48 } + 49 49 50 ? VFS_OUT_DESTROY +50 ?fs.VFS_OUT_DESTROY + 51 51 52 ? VFS_OUT_OPEN_NODE {52 ?fs.VFS_OUT_OPEN_NODE { 53 53 [../../../lib/libc/devmap_device_connect] + 54 54 NULL 55 55 } + 56 56 57 ? VFS_OUT_STAT {57 ?fs.VFS_OUT_STAT { 58 58 ?IPC_M_DATA_READ /* struct stat */ 59 59 } + 60 60 61 ? VFS_OUT_SYNC61 ?fs.VFS_OUT_SYNC 62 62 63 63 )* ; 64 ? IPC_M_PHONE_HUNGUP64 ?fs.IPC_M_PHONE_HUNGUP 65 65 )* ; 66 66 !vfs.IPC_M_PHONE_HUNGUP -
contrib/arch/uspace/srv/kbd/kbd.bp
r3052ff4 rb077886e 5 5 !ns.IPC_M_CONNECT_TO_ME ; 6 6 ( 7 ? IPC_M_CONNECT_ME_TO ;7 ?kbd.IPC_M_CONNECT_ME_TO ; 8 8 ( 9 9 ( 10 ? KBD_YIELD +11 ? KBD_RECLAIM +10 ?kbd.KBD_YIELD + 11 ?kbd.KBD_RECLAIM + 12 12 ) | 13 13 !console.KBD_EVENT 14 14 )* ; 15 ? IPC_M_PHONE_HUNGUP15 ?kbd.IPC_M_PHONE_HUNGUP 16 16 )* ; 17 17 ( -
contrib/arch/uspace/srv/vfs/vfs.bp
r3052ff4 rb077886e 1 1 !ns.IPC_M_CONNECT_TO_ME ; 2 2 ( 3 ? IPC_M_CONNECT_ME_TO ;3 ?vfs.IPC_M_CONNECT_ME_TO ; 4 4 ( 5 ? VFS_IN_REGISTER {6 ? IPC_M_DATA_WRITE ;7 ? IPC_M_CONNECT_TO_ME ;8 ? IPC_M_SHARE_IN5 ?vfs.VFS_IN_REGISTER { 6 ?vfs.IPC_M_DATA_WRITE ; 7 ?vfs.IPC_M_CONNECT_TO_ME ; 8 ?vfs.IPC_M_SHARE_IN 9 9 } + 10 10 11 ? VFS_IN_MOUNT {12 ? IPC_M_DATA_WRITE /* mount point */ ;13 ? IPC_M_DATA_WRITE /* mount options */ ;14 ? IPC_M_DATA_WRITE /* fs name */ ;15 ? IPC_M_PING ;11 ?vfs.VFS_IN_MOUNT { 12 ?vfs.IPC_M_DATA_WRITE /* mount point */ ; 13 ?vfs.IPC_M_DATA_WRITE /* mount options */ ; 14 ?vfs.IPC_M_DATA_WRITE /* fs name */ ; 15 ?vfs.IPC_M_PING ; 16 16 ( 17 17 … … 26 26 } + 27 27 28 ? VFS_IN_OPEN {29 ? IPC_M_DATA_WRITE /* path */ ;28 ?vfs.VFS_IN_OPEN { 29 ?vfs.IPC_M_DATA_WRITE /* path */ ; 30 30 [vfs_lookup_internal] ; 31 31 ( … … 39 39 } + 40 40 41 ? VFS_IN_OPEN_NODE {41 ?vfs.VFS_IN_OPEN_NODE { 42 42 [vfs_grab_phone] ; 43 43 !fs.VFS_OUT_OPEN_NODE ; … … 50 50 ) + 51 51 NULL 52 NULL53 52 ) 54 53 } + 55 54 56 ? VFS_IN_CLOSE {55 ?vfs.VFS_IN_CLOSE { 57 56 [vfs_grab_phone] ; 58 57 !fs.VFS_OUT_CLOSE ; … … 60 59 } + 61 60 62 ? VFS_IN_READ {63 ? IPC_M_DATA_READ {61 ?vfs.VFS_IN_READ { 62 ?vfs.IPC_M_DATA_READ { 64 63 [vfs_grab_phone] ; 65 64 !fs.VFS_OUT_READ /* payload */ ; … … 69 68 } + 70 69 71 ? VFS_IN_WRITE {72 ? IPC_M_DATA_WRITE {70 ?vfs.VFS_IN_WRITE { 71 ?vfs.IPC_M_DATA_WRITE { 73 72 [vfs_grab_phone] ; 74 73 !fs.VFS_OUT_WRITE /* payload */ ; … … 78 77 } + 79 78 80 ? VFS_IN_SEEK +79 ?vfs.VFS_IN_SEEK + 81 80 82 ? VFS_IN_TRUNCATE {81 ?vfs.VFS_IN_TRUNCATE { 83 82 [vfs_grab_phone] ; 84 83 !fs.VFS_OUT_TRUNCATE ; … … 86 85 } + 87 86 88 ? VFS_IN_FSTAT {89 ? IPC_M_DATA_READ /* struct stat */ {87 ?vfs.VFS_IN_FSTAT { 88 ?vfs.IPC_M_DATA_READ /* struct stat */ { 90 89 [vfs_grab_phone] ; 91 90 !fs.VFS_OUT_STAT ; … … 95 94 } + 96 95 97 ? VFS_IN_STAT {98 ? IPC_M_DATA_WRITE /* path */ ;99 ? IPC_M_DATA_READ /* struct stat */ {96 ?vfs.VFS_IN_STAT { 97 ?vfs.IPC_M_DATA_WRITE /* path */ ; 98 ?vfs.IPC_M_DATA_READ /* struct stat */ { 100 99 [vfs_lookup_internal] ; 101 100 !fs.VFS_OUT_STAT ; … … 104 103 } + 105 104 106 ? VFS_IN_MKDIR {107 ? IPC_M_DATA_WRITE /* path */ ;105 ?vfs.VFS_IN_MKDIR { 106 ?vfs.IPC_M_DATA_WRITE /* path */ ; 108 107 [vfs_lookup_internal] 109 108 } + 110 109 111 ? VFS_IN_UNLINK {112 ? IPC_M_DATA_WRITE /* path */ ;110 ?vfs.VFS_IN_UNLINK { 111 ?vfs.IPC_M_DATA_WRITE /* path */ ; 113 112 [vfs_lookup_internal] 114 113 } + 115 114 116 ? VFS_IN_RENAME {117 ? IPC_M_DATA_WRITE /* old path */ ;118 ? IPC_M_DATE_WRITE /* new path */ ;115 ?vfs.VFS_IN_RENAME { 116 ?vfs.IPC_M_DATA_WRITE /* old path */ ; 117 ?vfs.IPC_M_DATE_WRITE /* new path */ ; 119 118 [vfs_lookup_internal] /* lookup old path */ ; 120 119 [vfs_lookup_internal] /* lookup parent of new path */ ; … … 124 123 } + 125 124 126 ? VFS_IN_SYNC {125 ?vfs.VFS_IN_SYNC { 127 126 !fs.VFS_OUT_SYNC 128 127 } 129 128 130 129 )* ; 131 ? IPC_M_PHONE_HUNGUP130 ?vfs.IPC_M_PHONE_HUNGUP 132 131 )* -
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.