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