diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2018-01-03 17:39:24 -0700 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2018-01-03 17:39:24 -0700 |
commit | a6c1ed4716cf02626ea035beb6dd4a921642ba80 (patch) | |
tree | ef582c1b52819e27bdd16097ec03b69799d04ede /newlib/libc/sys/go32/go32.h | |
parent | f6c9a624fa8a6878a7fb2b02f55e4990a20feb59 (diff) |
Use libc from agbcc instead of standalone newlib\nYou must have AGBCC commit 80d029caec189587f8b9294b6c8a5a489b8f5f88 in order to compile pmd_red.gbalibc
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 32afc0e..0000000 --- a/newlib/libc/sys/go32/go32.h +++ /dev/null @@ -1,70 +0,0 @@ -/* This is file go32.h */ -/* -** Copyright (C) 1993 DJ Delorie, 24 Kirsten Ave, Rochester NH 03867-2954 -** -** This file is distributed under the terms listed in the document -** "copying.dj", available from DJ Delorie at the address above. -** 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 - |