public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Magnus Christensson <mch-8vJNMC6Ql2nxsAP9Fp7wbw@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RSDP scan problem
Date: Thu, 04 Mar 2004 16:47:16 +0100	[thread overview]
Message-ID: <40474F84.4060102@virtutech.se> (raw)

There seem to be a problem with the RSDP scan in at least a few different kernel 
versions.

In the 2.6 version I looked at we have:

----
         /*
          * Scan memory looking for the RSDP signature. First search EBDA (low
          * memory) paragraphs and then search upper memory (E0000-FFFFF).
          */
         rsdp_phys = acpi_scan_rsdp (0, 0x400);
         if (!rsdp_phys)
                 rsdp_phys = acpi_scan_rsdp (0xE0000, 0xFFFFF);
----

In a 2.4 version we have:

----
	/*
	 * Physical address is given
	 */
	/*
	 * Region 1) Search EBDA (low memory) paragraphs
	 */
	rsdp = acpi_tb_scan_memory_for_rsdp(__va(LO_RSDP_WINDOW_BASE),
					 LO_RSDP_WINDOW_SIZE);
----

Both versions claim to check the EBDA in the comments, but if I'm not mistaken 
they really check the lowest part of physical memory.

The location of the EBDA varies between BIOSes (the real mode segment part can 
be found at 40:0E).

M.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

                 reply	other threads:[~2004-03-04 15:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40474F84.4060102@virtutech.se \
    --to=mch-8vjnmc6ql2nxsap9fp7wbw@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox