Ignore:
Timestamp:
Jan 11, 2019, 6:35:07 PM (5 years ago)
Author:
alain
Message:

Fix several bugs in vfs.c, fatfs.c, and devfs.c to support
the <.> and <..> directory entries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kernel_config.h

    r611 r612  
    6262#define DEBUG_DEV_PIC                     0
    6363
    64 #define DEBUG_DEVFS_INIT                  0
     64#define DEBUG_DEVFS_INIT                  1
    6565#define DEBUG_DEVFS_MOVE                  0
    6666
     
    7474
    7575#define DEBUG_FATFS_ADD_DENTRY            0
    76 #define DEBUG_FATFS_CHILD_INIT            0
    7776#define DEBUG_FATFS_CLUSTER_ALLOC         0
    7877#define DEBUG_FATFS_CTX_INIT              0
    7978#define DEBUG_FATFS_FREE_CLUSTERS         0
    8079#define DEBUG_FATFS_GET_CLUSTER           0
     80#define DEBUG_FATFS_GET_DIRENT            1
     81#define DEBUG_FATFS_GET_USER_DIR          1
    8182#define DEBUG_FATFS_MOVE_PAGE             0
    8283#define DEBUG_FATFS_RELEASE_INODE         0
     
    127128
    128129#define DEBUG_QUEUELOCK_TYPE              0    // lock type (0 is undefined)
    129 
    130 #define DEBUG_REMOTE_DIR                  0
    131130
    132131#define DEBUG_RPC_CLIENT_GENERIC          0
     
    213212#define DEBUG_THREAD_USER_EXEC            0
    214213
     214#define DEBUG_USER_DIR                    1
     215
    215216#define DEBUG_VFS_ADD_CHILD               0
    216217#define DEBUG_VFS_ADD_SPECIAL             1
Note: See TracChangeset for help on using the changeset viewer.