Changeset 6364d3c in mainline for uspace


Ignore:
Timestamp:
2007-12-04T20:29:55Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9119d25
Parents:
38c706cc
Message:

Sync IPC comments with IPC code.

Location:
uspace/srv/fs/fat
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat.h

    r38c706cc r6364d3c  
    136136extern uint8_t *plb_ro;
    137137
     138extern void fat_lookup(ipc_callid_t, ipc_call_t *);
     139
     140/*
     141 * The following interfaces are rather fs-neutral and might be later moved to a
     142 * dedicated library (e.g. libfs). We just wait until the interfaces stabilize
     143 * and until there is more than one fs implementation.
     144 */
    138145extern int block_read(int, unsigned long, void *);
     146extern int block_write(int, unsigned long, void *);
    139147
    140 extern void fat_lookup(ipc_callid_t, ipc_call_t *);
     148extern void node_add_mp(int, unsigned long);
     149extern void node_del_mp(int, unsigned long);
     150extern bool node_is_mp(int, unsigned long);
    141151
    142152#endif
  • uspace/srv/fs/fat/fat_ops.c

    r38c706cc r6364d3c  
    3737
    3838#include "fat.h"
     39#include "../../vfs/vfs.h"
    3940#include <ipc/ipc.h>
    4041#include <async.h>
    4142#include <errno.h>
     43
     44#define PLB_GET_CHAR(i)         (plb_ro[(i) % PLB_SIZE])
     45
     46#define FAT_NAME_LEN            8
     47#define FAT_EXT_LEN             3
     48
     49#define FAT_PAD                 ' '
     50
     51#define FAT_DENTRY_UNUSED       0x00
     52#define FAT_DENTRY_E5_ESC       0x05
     53#define FAT_DENTRY_DOT          0x2e
     54#define FAT_DENTRY_ERASED       0xe5
     55
     56static int match_path_component(fat_dentry_t *dentry, unsigned index,
     57    size_t len)
     58{
     59}
    4260
    4361void fat_lookup(ipc_callid_t rid, ipc_call_t *request)
Note: See TracChangeset for help on using the changeset viewer.