mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.7 KiB
63 lines
1.7 KiB
/*
|
|
* VPC-XT Revision 1.0
|
|
*
|
|
* Title : host.h
|
|
*
|
|
* Description : Host specific declarations for the machine dependant
|
|
* modules of SoftPC. THIS IS A BASE INCLUDE FILE
|
|
*
|
|
* Author : Henry Nash
|
|
*
|
|
* Notes : Everything in here must portable !!!
|
|
*/
|
|
|
|
/* SccsID[]="@(#)host.h 1.6 09/14/93 Copyright Insignia Solutions Ltd."; */
|
|
|
|
/*
|
|
* ============================================================================
|
|
* External declarations and macros
|
|
* ============================================================================
|
|
*/
|
|
|
|
#ifdef PC_CONFIG
|
|
extern void pc_config();
|
|
#endif
|
|
|
|
IMPORT VOID host_flip_real_floppy_ind IPT2(int, drive, BOOL, active);
|
|
|
|
|
|
extern void host_floppy_init();
|
|
extern void host_floppy_term();
|
|
extern void host_reset();
|
|
|
|
extern boolean host_rdiskette_open_drive();
|
|
|
|
|
|
/* Unix Utilities - xxxx_unix.c */
|
|
extern char *host_get_cur_dir();
|
|
#ifndef host_memset
|
|
extern void host_memset();
|
|
#endif /* nhost_memset */
|
|
extern int host_get_file_size();
|
|
extern boolean host_file_is_directory();
|
|
extern boolean host_validate_pathname();
|
|
extern boolean host_check_rd_wt_access();
|
|
extern boolean host_check_read_access();
|
|
#ifdef SUSPEND
|
|
extern void suspend_softpc();
|
|
#endif
|
|
#ifndef REAL_VGA
|
|
IMPORT VOID memset4 IPT3( IU32, data, ULONG *, laddr, ULONG, count );
|
|
#endif
|
|
IMPORT VOID fill_alternate_bytes IPT3( IS8 *, start, IS8 *, end, IS8, value);
|
|
IMPORT VOID fill_both_bytes IPT3( IU16, data, IU16 *, dest, ULONG, len );
|
|
|
|
#ifdef SETUID_ROOT
|
|
|
|
/* real/effective user ID stuff */
|
|
IMPORT void host_init_uid IPT0 ();
|
|
IMPORT void host_set_root IPT0 ();
|
|
IMPORT void host_revert_uid IPT0 ();
|
|
|
|
#endif /* SETUID_ROOT */
|
|
|