From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31697 invoked by alias); 24 Nov 2003 22:53:27 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 31690 invoked from network); 24 Nov 2003 22:53:27 -0000 Received: from unknown (HELO msgbas1x.cos.agilent.com) (192.25.240.36) by sources.redhat.com with SMTP; 24 Nov 2003 22:53:27 -0000 Received: from relcos1.cos.agilent.com (relcos1.cos.agilent.com [130.29.152.239]) by msgbas1x.cos.agilent.com (Postfix) with ESMTP id E24CB245E9 for ; Mon, 24 Nov 2003 15:53:26 -0700 (MST) Received: from axcsbh3.cos.agilent.com (axcsbh3.cos.agilent.com [130.29.152.190]) by relcos1.cos.agilent.com (Postfix) with SMTP id C05311AF for ; Mon, 24 Nov 2003 15:53:26 -0700 (MST) Received: from 130.29.152.190 by axcsbh3.cos.agilent.com (InterScan E-Mail VirusWall NT); Mon, 24 Nov 2003 15:53:26 -0700 Received: by axcsbh3.cos.agilent.com with Internet Mail Service (5.5.2653.19) id ; Mon, 24 Nov 2003 15:53:26 -0700 Message-ID: <1BEBA5E8600DD4119A50009027AF54A010FAE47E@axcs04.cos.agilent.com> From: kevin_lemay@agilent.com To: ecos-discuss@sources.redhat.com Date: Mon, 24 Nov 2003 22:53:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: [ECOS] i386 Memory Size Problem X-SW-Source: 2003-11/txt/msg00348.txt.bz2 There appears to be an issue with the pcmb_misc.c file where it determines to actual amount of extended memory available. It is reading bytes 0x17 and 0x18 from the CMOS which limits the RAM size to 64MB. I was trying to find the proper way to find out the memory size, and found the following on the web. Use BIOS calls: INT 15h AX=E820h (32-bit CPU only). If this fails... ...use INT 15h AX=E801h. If this fails... ...use INT 15h AH=88h. Read the extended memory size from CMOS only if all of the BIOS calls listed above fail. How do I do this with eCos? I have a large application that I am porting that allocates lots of ram. I need more than 64MB. Kevin -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss