diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-12-20 02:29:00 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-12-20 02:29:00 +0000 |
commit | d693ad844979b8f5596dde99a0cbec070af73683 (patch) | |
tree | 1b60e394a1807abc3c92bf9b0cbb88b3fdb157c4 /newlib/libc/sys/go32/go32.h | |
parent | 3ace1da676318a591ee314b784f37661e52cfb75 (diff) | |
download | cygnal-d693ad844979b8f5596dde99a0cbec070af73683.tar.gz cygnal-d693ad844979b8f5596dde99a0cbec070af73683.tar.bz2 cygnal-d693ad844979b8f5596dde99a0cbec070af73683.zip |
2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
* configure.host: Remove references to go32.
* libc/sys/go32/*: Removed.
Diffstat (limited to 'newlib/libc/sys/go32/go32.h')
-rw-r--r-- | newlib/libc/sys/go32/go32.h | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/newlib/libc/sys/go32/go32.h b/newlib/libc/sys/go32/go32.h deleted file mode 100644 index 0e4327474..000000000 --- a/newlib/libc/sys/go32/go32.h +++ /dev/null @@ -1,70 +0,0 @@ -/* This is file go32.h */ -/* -** Copyright (C) 1993 DJ Delorie -** -** This file is distributed under the terms listed in the document -** "copying.dj". -** A copy of "copying.dj" should accompany this file; if not, a copy -** should be available from where this file was obtained. This file -** may not be distributed without a verbatim copy of "copying.dj". -** -** This file is distributed WITHOUT ANY WARRANTY; without even the implied -** warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ - -#ifndef _GO32_H_ -#define _GO32_H_ - -#include <sys/types.h> - -#ifdef __cplusplus -extern "C" { -#endif - -/* This must match go32/proginfo.h */ - -typedef struct { - u_long size_of_this_structure_in_bytes; - u_long linear_address_of_primary_screen; - u_long linear_address_of_secondary_screen; - u_long linear_address_of_transfer_buffer; - u_long size_of_transfer_buffer; /* >= 4k */ - u_long pid; - u_char master_interrupt_controller_base; - u_char slave_interrupt_controller_base; - u_short selector_for_linear_memory; - u_long linear_address_of_stub_info_structure; - u_long linear_address_of_original_psp; - u_short run_mode; - u_short run_mode_info; -} Go32_Info_Block; - -extern Go32_Info_Block _go32_info_block; - -#define _GO32_RUN_MODE_UNDEF 0 -#define _GO32_RUN_MODE_RAW 1 -#define _GO32_RUN_MODE_XMS 2 -#define _GO32_RUN_MODE_VCPI 3 -#define _GO32_RUN_MODE_DPMI 4 - -void dosmemget(int offset, int length, void *buffer); -void dosmemput(const void *buffer, int length, int offset); -void movedata(unsigned source_selector, unsigned source_offset, - unsigned dest_selector, unsigned dest_offset, - size_t length); - -/* returns number of times hit since last call. (zero first time) */ -u_long _go32_was_ctrl_break_hit(); -void _go32_want_ctrl_break(int yes); /* auto-yes if call above function */ - -u_short _go32_my_cs(); -u_short _go32_my_ds(); -u_short _go32_my_ss(); -u_short _go32_conventional_mem_selector(); - -#ifdef __cplusplus -} -#endif - -#endif - |