Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4593 → Rev 4594

/trunk/uspace/srv/fb/fb.c
56,6 → 56,7
#include <async.h>
#include <fibril.h>
#include <bool.h>
#include <stdio.h>
 
#include "font-8x16.h"
#include "fb.h"
1067,10 → 1068,11
if (IPC_GET_ARG1(*call) == shm_id) {
void *dest = as_get_mappable_page(IPC_GET_ARG2(*call));
shm_size = IPC_GET_ARG2(*call);
if (!ipc_answer_1(callid, EOK, (sysarg_t) dest))
shm = dest;
else
if (ipc_answer_1(callid, EOK, (sysarg_t) dest)) {
shm_id = 0;
return false;
}
shm = dest;
if (shm[0] != 'P')
return false;