Ignore:
Timestamp:
2010-12-14T12:52:38Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6b10dab
Parents:
554debd
Message:

more unification of basic types

  • use sysarg_t and native_t (unsigned and signed variant) in both kernel and uspace
  • remove ipcarg_t in favour of sysarg_t

(no change in functionality)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/io/screenbuffer.c

    r554debd r96b02eb9  
    6767 *
    6868 */
    69 screenbuffer_t *screenbuffer_init(screenbuffer_t *scr, ipcarg_t size_x,
    70     ipcarg_t size_y)
     69screenbuffer_t *screenbuffer_init(screenbuffer_t *scr, sysarg_t size_x,
     70    sysarg_t size_y)
    7171{
    7272        scr->buffer = (keyfield_t *) malloc(sizeof(keyfield_t) * size_x * size_y);
     
    110110 *
    111111 */
    112 void screenbuffer_clear_line(screenbuffer_t *scr, ipcarg_t line)
     112void screenbuffer_clear_line(screenbuffer_t *scr, sysarg_t line)
    113113{
    114         ipcarg_t x;
     114        sysarg_t x;
    115115       
    116116        for (x = 0; x < scr->size_x; x++) {
     
    141141 *
    142142 */
    143 void screenbuffer_goto(screenbuffer_t *scr, ipcarg_t x, ipcarg_t y)
     143void screenbuffer_goto(screenbuffer_t *scr, sysarg_t x, sysarg_t y)
    144144{
    145145        scr->position_x = x % scr->size_x;
Note: See TracChangeset for help on using the changeset viewer.