Home | History | Annotate | Line # | Download | only in nbfs
      1  1.2  bjh21 /* $NetBSD: nbfs.h,v 1.2 2006/07/13 15:51:54 bjh21 Exp $ */
      2  1.1  bjh21 
      3  1.2  bjh21 #define NBFS_FSNUM 0xf0 /* borrow UnixFS's number for now */
      4  1.2  bjh21 
      5  1.2  bjh21 #ifndef __ASSEMBLER__
      6  1.1  bjh21 /* Structure passed to and from FSEntry_* entry points */
      7  1.1  bjh21 struct nbfs_reg {
      8  1.1  bjh21 	uint32_t	r0, r1, r2, r3, r4, r5, r6, r7;
      9  1.1  bjh21 };
     10  1.1  bjh21 
     11  1.2  bjh21 extern os_error const *nbfs_open    (struct nbfs_reg *);
     12  1.2  bjh21 extern os_error const *nbfs_getbytes(struct nbfs_reg *);
     13  1.2  bjh21 extern os_error const *nbfs_putbytes(struct nbfs_reg *);
     14  1.2  bjh21 extern os_error const *nbfs_args    (struct nbfs_reg *);
     15  1.2  bjh21 extern os_error const *nbfs_close   (struct nbfs_reg *);
     16  1.2  bjh21 extern os_error const *nbfs_file    (struct nbfs_reg *);
     17  1.2  bjh21 extern os_error const *nbfs_func    (struct nbfs_reg *);
     18  1.2  bjh21 #endif /* __ASSEMBLER__ */
     19