drvlib.h File Reference

#include <ibm/partition.h>

Include dependency graph for drvlib.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define bp_cylinders(t)   (* (u16_t *) (&(t)[0]))
#define bp_heads(t)   (* (u8_t *) (&(t)[2]))
#define bp_reduced_wr(t)   (* (u16_t *) (&(t)[3]))
#define bp_precomp(t)   (* (u16_t *) (&(t)[5]))
#define bp_max_ecc(t)   (* (u8_t *) (&(t)[7]))
#define bp_ctlbyte(t)   (* (u8_t *) (&(t)[8]))
#define bp_landingzone(t)   (* (u16_t *) (&(t)[12]))
#define bp_sectors(t)   (* (u8_t *) (&(t)[14]))
#define DEV_PER_DRIVE   (1 + NR_PARTITIONS)
#define MINOR_t0   64
#define MINOR_r0   120
#define MINOR_d0p0s0   128
#define MINOR_fd0p0   (28<<2)
#define P_FLOPPY   0
#define P_PRIMARY   1
#define P_SUB   2

Functions

 _PROTOTYPE (void partition,(struct driver *dr, int device, int style, int atapi))


Define Documentation

#define bp_ctlbyte t   )     (* (u8_t *) (&(t)[8]))
 

Definition at line 15 of file drvlib.h.

#define bp_cylinders t   )     (* (u16_t *) (&(t)[0]))
 

Definition at line 10 of file drvlib.h.

Referenced by init_params().

#define bp_heads t   )     (* (u8_t *) (&(t)[2]))
 

Definition at line 11 of file drvlib.h.

Referenced by init_params().

#define bp_landingzone t   )     (* (u16_t *) (&(t)[12]))
 

Definition at line 16 of file drvlib.h.

#define bp_max_ecc t   )     (* (u8_t *) (&(t)[7]))
 

Definition at line 14 of file drvlib.h.

#define bp_precomp t   )     (* (u16_t *) (&(t)[5]))
 

Definition at line 13 of file drvlib.h.

Referenced by init_params().

#define bp_reduced_wr t   )     (* (u16_t *) (&(t)[3]))
 

Definition at line 12 of file drvlib.h.

#define bp_sectors t   )     (* (u8_t *) (&(t)[14]))
 

Definition at line 17 of file drvlib.h.

Referenced by init_params().

#define DEV_PER_DRIVE   (1 + NR_PARTITIONS)
 

Definition at line 20 of file drvlib.h.

Referenced by extpartition(), partition(), w_do_open(), w_io_test(), and w_prepare().

#define MINOR_d0p0s0   128
 

Definition at line 23 of file drvlib.h.

#define MINOR_fd0p0   (28<<2)
 

Definition at line 24 of file drvlib.h.

Referenced by f_do_open(), f_prepare(), and partition().

#define MINOR_r0   120
 

Definition at line 22 of file drvlib.h.

#define MINOR_t0   64
 

Definition at line 21 of file drvlib.h.

#define P_FLOPPY   0
 

Definition at line 25 of file drvlib.h.

Referenced by partition(), and test_read().

#define P_PRIMARY   1
 

Definition at line 26 of file drvlib.h.

Referenced by partition(), and w_do_open().

#define P_SUB   2
 

Definition at line 27 of file drvlib.h.

Referenced by partition().


Function Documentation

_PROTOTYPE void  partition,
(struct driver *dr, int device, int style, int atapi) 
 


Generated on Fri Apr 14 23:09:02 2006 for minix by  doxygen 1.4.6