File: rawio.h

package info (click to toggle)
linux86 0.16.21-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,072 kB
  • sloc: ansic: 66,757; asm: 6,154; makefile: 1,374; sh: 703
file content (16 lines) | stat: -rw-r--r-- 383 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __readfs_h__    /* multi-inclusion protection */
#define __readfs_h__

#ifdef __STDC__
#define P(x) x
#else
#define P(x) ()
#endif

#define rawio_read_sector(__sect, __buffer) rawio_read_lsector((unsigned long)__sect, __buffer)
int rawio_read_lsector P((long sector, char* buffer));

extern int rawio_disk_cyls;
extern int rawio_disk_heads;
extern int rawio_disk_spt;
#endif