Subversion Repositories HelenOS

Rev

Rev 3234 | Rev 3672 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3234 Rev 3235
Line 135... Line 135...
135
        ipc_answer_0(iid, ELIMIT);
135
        ipc_answer_0(iid, ELIMIT);
136
        return;
136
        return;
137
    }
137
    }
138
   
138
   
139
    client_connected = 1;
139
    client_connected = 1;
140
    ipc_answer_0(iid, EOK);
140
    ipc_answer_0(iid, EOK);
-
 
141
   
-
 
142
    /* Clear the terminal, set scrolling region
-
 
143
       to 0 - 25 lines */
-
 
144
    msim_clrscr();
-
 
145
    msim_goto(0, 0);
-
 
146
    msim_puts("\033[0;25r");
141
   
147
   
142
    while (true) {
148
    while (true) {
143
        callid = async_get_call(&call);
149
        callid = async_get_call(&call);
144
        switch (IPC_GET_METHOD(call)) {
150
        switch (IPC_GET_METHOD(call)) {
145
        case IPC_M_PHONE_HUNGUP:
151
        case IPC_M_PHONE_HUNGUP:
Line 211... Line 217...
211
    virt_addr = (char *) as_get_mappable_page(1);
217
    virt_addr = (char *) as_get_mappable_page(1);
212
   
218
   
213
    physmem_map(phys_addr, virt_addr, 1, AS_AREA_READ | AS_AREA_WRITE);
219
    physmem_map(phys_addr, virt_addr, 1, AS_AREA_READ | AS_AREA_WRITE);
214
   
220
   
215
    async_set_client_connection(msim_client_connection);
221
    async_set_client_connection(msim_client_connection);
216
 
-
 
217
    /* Clear the terminal, set scrolling region
-
 
218
       to 0 - 25 lines */
-
 
219
    msim_clrscr();
-
 
220
    msim_goto(0, 0);
-
 
221
    msim_puts("\033[0;25r");
-
 
222
 
-
 
223
    return 0;
222
    return 0;
224
}
223
}
225
 
224
 
226
/**
225
/**
227
 * @}
226
 * @}