Groups | Search | Server Info | Login | Register
Groups > comp.os.os2.programmer.misc > #1908
| From | Paul Edwards <mutazilah@gmail.com> |
|---|---|
| Newsgroups | comp.os.os2.programmer.misc |
| Subject | limit |
| Date | 2024-03-14 01:56 +0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <usspco$12mfq$1@dont-email.me> (permalink) |
I noticed this in one of my crashes: 03-14-2024 00:00:43 SYS3175 PID 006f TID 0001 Slot 003f P:\DOS\GCCWIN.EXE c0000005 0028c43e P1=00000002 P2=0024a429 P3=XXXXXXXX P4=XXXXXXXX EAX=65746e69 EBX=0024a445 ECX=001392f3 EDX=0024a429 ESI=0024a429 EDI=0000001d DS=0053 DSACC=d0f3 DSLIM=5fffffff ES=0053 ESACC=d0f3 ESLIM=5fffffff FS=150b FSACC=00f3 FSLIM=00000030 GS=0000 GSACC=**** GSLIM=******** CS:EIP=005b:0028c43e CSACC=d0df CSLIM=5fffffff SS:ESP=0053:0035766c SSACC=d0f3 SSLIM=5fffffff EBP=00357678 FLG=00010287 GCCWIN.EXE 0001:0027c43e I see that DS has a limit of 5fff ffff which is basically 1.5 GB. But I thought without OBJ_ANY I got 512 MiB max, and with OBJ_ANY I could potentially access 4 GiB. So where is that limit coming from? Is there some flag in the LX executable I need to set, as well as using OBJ_ANY? BTW, I suspect I can implement PDPCLIB for OS/2 the same way I did for MVS, which is use OBJ_ANY for any application request via malloc(), but for any internal use, ie fopen buffers to be transferred to DosRead/DosWrite I would do a different malloc that doesn't have OBJ_ANY. So user applications become effectively unrestricted, without any odd functions like SafeDosOpen. BFN. Paul.
Back to comp.os.os2.programmer.misc | Previous | Next — Next in thread | Find similar
limit Paul Edwards <mutazilah@gmail.com> - 2024-03-14 01:56 +0800
Re: limit Dave Yeo <dave.r.yeo@gmail.com> - 2024-03-13 15:13 -0700
Re: limit Paul Edwards <mutazilah@gmail.com> - 2024-03-14 09:07 +0800
Re: limit Paul Edwards <mutazilah@gmail.com> - 2024-03-14 11:53 +0800
Re: limit "Andi B." <andi.b@gmx.net> - 2024-03-14 10:53 +0100
Re: limit Dave Yeo <dave.r.yeo@gmail.com> - 2024-03-13 21:06 -0700
csiph-web