Changeset 26
- Timestamp:
- 01/11/06 13:30:26 (6 years ago)
- Files:
-
- arch/i386/kernel/callgate.c (modified) (4 diffs)
- .version (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
arch/i386/kernel/callgate.c
r25 r26 66 66 "popl %ds\n\t" 67 67 68 68 //#define NO_PARAMS 69 69 void *ring1_driver_helper; 70 70 void *ring2_driver_helper; … … 397 397 regs->edi=0x13371337; 398 398 //push parameters 399 #ifndef NO_PARAMS 399 400 count=argc; 400 401 while (argc) { … … 414 415 } 415 416 argc=count; 416 417 //printk("Going...\n"); 418 //show_regs(regs); 419 /*if (tsk->state==TASK_STOPPED) { 420 printk("Waking up driver thread for first time\n"); 421 tsk->state=TASK_RUNNING; 422 }*/ 423 /*if (ptrbitmap & NO_WAIT) { 424 //increase priority 425 set_user_nice(tsk, -20); 426 } else { 427 set_user_nice(tsk, 0); 428 }*/ 417 #endif 429 418 wake_up_process(tsk); 430 419 if (!(ptrbitmap & NO_WAIT)) { 431 420 tsk->bytes_to_pop=0; 432 421 sleep_on(&tsk->wait_driverfinish); 422 #ifndef NO_PARAMS 433 423 //Free any memory we allocated 434 424 for (i=0; i<argc; i++) { … … 440 430 regs->esp+=4; 441 431 } 432 #endif 442 433 return tsk->exit_code; 443 434 } else { .version
r25 r26 1 29 71 299
