Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > openwatcom.users.c_cpp > #3458
| From | Lars Erdmann <lars.erdmann@arcor.de> |
|---|---|
| Newsgroups | openwatcom.users.c_cpp |
| Subject | Re: Using function "_bheapseg" under OS/2 (use of high memory) |
| Date | 2015-12-14 08:03 +0100 |
| Organization | solani.org |
| Message-ID | <n4lpj8$41k$1@solani.org> (permalink) |
| References | <n4lp4s$2k9$1@solani.org> |
Forgot to ask: how do you convert (under OS/2 and using high memory if possible) a based address (which _bmalloc returns) into a full 32-bit linear address ? I would appreciate if someone could provide a small code snippet ... If all of this does not work under 32-bit OS/2, does anyone know any other functions in the Watcom RTL that would allow me to manage a heap in high memory ? Lars On 14.12.15 07.55, Lars Erdmann wrote: > I am using the OS/2 version of the compiler. > I am looking for a way to manage a heap in high memory (above the 512 MB > address). > > For OS/2, will _bheapseg allocate a heap in the conventional memory > (below 512 MB) or will it attempt to allocate in high memory if possible ? > > Is there any way to influence this with an OS/2 specific compiler switch > or some define ? > > Thanks, > Lars
Back to openwatcom.users.c_cpp | Previous | Next — Previous in thread | Next in thread | Find similar
Using function "_bheapseg" under OS/2 (use of high memory) Lars Erdmann <lars.erdmann@arcor.de> - 2015-12-14 07:55 +0100
Re: Using function "_bheapseg" under OS/2 (use of high memory) Lars Erdmann <lars.erdmann@arcor.de> - 2015-12-14 08:03 +0100
Re: Using function "_bheapseg" under OS/2 (use of high memory) "Steven Levine" <steve53@nomail.earthlink.net> - 2015-12-14 15:07 +0000
Re: Using function "_bheapseg" under OS/2 (use of high memory) Frank Beythien <nospam_2015@efbe.prima.de> - 2015-12-14 09:51 +0100
Re: Using function "_bheapseg" under OS/2 (use of high memory) Lars Erdmann <lars.erdmann@arcor.de> - 2015-12-14 20:36 +0100
Re: Using function "_bheapseg" under OS/2 (use of high memory) Lars Erdmann <lars.erdmann@arcor.de> - 2015-12-14 20:34 +0100
csiph-web