Changeset 523 for Whitix/branches/hybrid

Show
Ignore:
Timestamp:
05/24/08 09:49:09 (3 months ago)
Author:
mwhitworth
Message:

Convert code to use new APIs.

Location:
Whitix/branches/hybrid/fs/isofs
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • Whitix/branches/hybrid/fs/isofs/Makefile

    r1 r523  
    22include ../../make.inc 
    33 
    4 OBJS = super.o dir.o 
     4MODULES = super.sys dir.sys 
    55 
    6 build: $(OBJS) 
     6build: $(MODULES) 
     7        ld -r $(MODULES) -o cdfs.sys 
     8 
     9modules_install: 
     10        cp *.sys ../../CdRoot/System/Modules/Filesystems 
    711 
    812clean: 
  • Whitix/branches/hybrid/fs/isofs/isofs.h

    r67 r523  
    6767struct IsoPrimaryDesc 
    6868{ 
    69         BYTE type,id[5],version,unused[1]; 
    70         char systemId[32],volId[32]; 
     69        BYTE type,id[5], version, unused[1]; 
     70        char systemId[32], volId[32]; 
    7171        char unused2[8]; 
    7272        Both32 numSectors; 
  • Whitix/branches/hybrid/fs/isofs/super.c

    r67 r523  
    3232        if (dirEntry->flags & 0x80) 
    3333        { 
    34                 printf("dirEntry->flags & 0x80!\n"); 
     34                KePrint("dirEntry->flags & 0x80!\n"); 
    3535                cli(); hlt(); 
    3636        }else 
     
    5151        if (!buffer) 
    5252        { 
    53                 printf("IsoReadVNode: failed to read buffer\n"); 
     53                KePrint("IsoReadVNode: failed to read buffer\n"); 
    5454                return -EIO; 
    5555        } 
     
    148148 
    149149        retVal=VfsAllocSuper(dev,flags); 
     150 
    150151        if (!retVal) 
    151152                return NULL;