4 /* Miscellaneous BSD. */
7 char *getpass(const char *_prompt
);
9 void swab(char *_from
, char *_to
, int _count
);
11 #endif /* !_NBSD_LIBC */
13 /* Miscellaneous MINIX. */
14 void std_err(const char *_s
);
15 void prints(const char *_s
, ...);
16 int fsversion(char *_dev
, char *_prog
);
17 int getprocessor(void);
18 void _cpuid(u32_t
*eax
, u32_t
*ebx
, u32_t
*ecx
, u32_t
*edx
);
19 int load_mtab(char *_prog_name
);
20 int rewrite_mtab(char *_prog_name
);
21 int get_mtab_entry(char *_s1
, char *_s2
, char *_s3
, char *_s4
);
22 int put_mtab_entry(char *_s1
, char *_s2
, char *_s3
, char *_s4
);
24 /* read_tsc() and friends */
25 void read_tsc(u32_t
*hi
, u32_t
*lo
);
26 void read_tsc_64(u64_t
*t
);
28 /* return values for fsversion */
29 #define FSVERSION_MFS1 0x00001
30 #define FSVERSION_MFS2 0x00002
31 #define FSVERSION_MFS3 0x00003
32 #define FSVERSION_EXT2 0x10002