Show
Ignore:
Timestamp:
10/03/08 12:18:00 (3 months ago)
Author:
mwhitworth
Message:

Remove KePrints.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/branches/keobject/fs/vfs/load.c

    r881 r1060  
    139139        /* Failed to find a space? Unlikely. */ 
    140140        if (!argAddr) 
    141         { 
    142                 KePrint("ExecSetupArgs: failed to allocate space for arguments\n"); 
    143141                return -ENOMEM; 
    144         } 
    145142 
    146143        IrqSaveFlags(flags); 
     
    394391 
    395392        if (err) 
    396         { 
    397                 KePrint("%s: failed to copy arguments\n",pathName); 
    398393                return err; 
    399         } 
    400394 
    401395        err=ExecSetupFs(process, fds); 
     
    412406        if (err) 
    413407        {        
    414                 KePrint("Failed to execute %s\n",pathName); 
    415  
    416408                /* Do resource cleanup */ 
    417409                MmapProcessRemove(process); 
     
    441433        if (!MMapDo(args->process, NULL, ARCH_STACK_TOP-(ARG_PAGES*PAGE_SIZE), ARG_PAGES*PAGE_SIZE, PAGE_RW | PAGE_PRESENT | PAGE_USER, 0,  
    442434                        MMAP_PRIVATE | MMAP_FIXED, NULL)) 
    443         { 
    444                 KePrint("ExecSetupArgs: failed to allocate stack\n"); 
    445435                return -EFAULT; 
    446         } 
    447436 
    448437        args->stackP=(DWORD*)ARCH_STACK_TOP; 
     
    623612        if (!DoReadFile(&file,buffer,512)) 
    624613        { 
    625                 KePrint("Failed to read interpreter %s\n",pathName); 
    626614                err=-EIO; 
    627615                goto headerFree; 
     
    632620        if (ElfCheckHeader(header,ELF_EXEC | ELF_DYN)) 
    633621        { 
    634                 KePrint("%s is not a ELF interpreter\n",pathName); 
    635622                err=-EIO; 
    636623                goto headerFree; 
     
    654641 
    655642                        if (!(mapAddr=ElfMMap(process,file.vNode,physHeaders,&elfProt,mmapFlags))) 
    656                         { 
    657                                 KePrint("LoadElfInterp : Failed to memory map\n"); 
    658643                                return -ENOMEM; 
    659                         } 
    660644 
    661645                        if (!loadAddr) 
     
    721705        if (!DoReadFile(&args->exec, (BYTE*)buffer, 512)) 
    722706        { 
    723                 KePrint("Failed to read file %s\n", args->pathName); 
    724707                err=-EIO; 
    725708                goto freeBuffer; 
     
    829812        if (!DoReadFile(&args->exec, buffer, 512)) 
    830813        { 
    831                 KePrint("Failed to read file %s\n",args->pathName); 
    832814                err=-EIO; 
    833815                goto freeBuffer; 
     
    838820        if (ElfCheckHeader(header, ELF_EXEC | ELF_DYN)) 
    839821        { 
    840                 KePrint("%s: not a valid ELF executable\n", args->pathName); 
    841822                err=-EINVAL; 
    842823                goto freeBuffer; 
     
    856837                        if (ElfLoadInterp(interpreter,&loadAddr,&interpAddr,process)) 
    857838                        { 
    858                                 KePrint("Invalid interpreter %s\n",interpreter); 
    859839                                err=-EINVAL; 
    860840                                goto freeBuffer; 
     
    882862                        if (!ElfMMap(process, process->exec, physHeaders, &elfProt, MMAP_PRIVATE | MMAP_FIXED)) 
    883863                        { 
    884                                 KePrint("ExecElf : Failed to memory map\n"); 
    885864                                err=-ENOMEM; 
    886865                                goto freeBuffer;