Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2000-10-09 17:19:41 +0400
committerCorinna Vinschen <corinna@vinschen.de>2000-10-09 17:19:41 +0400
commit42f1b6c5447bd04b2f6a2bdebf2d0481f61bcd3a (patch)
tree8158b2eaa6f2abac5bd522e2bf2650141901d8b2 /winsup/cygwin/fhandler.h
parentb9e7a2b6662bcfef28b6fafddfeb9ff1e00ac5f5 (diff)
* fhandler.h (fhandler_dev_mem): Erase member `init_phase' and
member function `init'. * fhandler_mem.cc: Add typedefs for NT internal data types `SYSTEM_INFORMATION_CLASS' and `SYSTEM_BASIC_INFORMATION'. Add prototype for `NtQuerySystemInformation' function. (fhandler_dev_mem::fhandler_dev_mem): Takes over initialization task from `init'. Use `NtQuerySystemInformation' function to evaluate the size of physical memory instead of interval search. (fhandler_dev_mem::init): Eliminated. (fhandler_dev_mem::open): Don't call `init'. (fhandler_dev_mem::read): Eliminate check for `init_phase'. (dummy_autoload): Add load statement for `NtQuerySystemInformation'.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index c869067e6..ad17825bc 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -776,9 +776,6 @@ protected:
int unit;
DWORD mem_size;
DWORD pos;
- bool init_phase;
-
- void init (void);
public:
fhandler_dev_mem (const char *name, int unit);