Changeset d3f2cad in mainline for console/console.c


Ignore:
Timestamp:
2006-06-07T10:06:00Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e8d77a4
Parents:
9e951acb
Message:

Better colors for ega.
Small updates to initialization code to use only async api.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • console/console.c

    r9e951acb rd3f2cad  
    472472
    473473       
    474         ipc_call_sync_2(fb_info.phone, FB_GET_CSIZE, 0, 0, &(fb_info.rows), &(fb_info.cols));
     474        async_req_2(fb_info.phone, FB_GET_CSIZE, 0, 0, &(fb_info.rows), &(fb_info.cols));
    475475        set_style_col(DEFAULT_FOREGROUND, DEFAULT_BACKGROUND);
    476476        clrscr();
     
    493493       
    494494        if ((interbuffer = mmap(NULL, sizeof(keyfield_t) * fb_info.cols * fb_info.rows , PROTO_READ|PROTO_WRITE, MAP_ANONYMOUS|MAP_PRIVATE, 0 ,0 )) != NULL) {
    495                 if (ipc_call_sync_3(fb_info.phone, IPC_M_AS_AREA_SEND, (ipcarg_t)interbuffer, 0, AS_AREA_READ, NULL, NULL, NULL) != 0) {
     495                if (async_req_3(fb_info.phone, IPC_M_AS_AREA_SEND, (ipcarg_t)interbuffer, 0, AS_AREA_READ, NULL, NULL, NULL) != 0) {
    496496                        munmap(interbuffer, sizeof(keyfield_t) * fb_info.cols * fb_info.rows);
    497497                        interbuffer = NULL;
Note: See TracChangeset for help on using the changeset viewer.