lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070419163007.26db4041@localhost>
Date:	Thu, 19 Apr 2007 16:30:07 +0200
From:	Paolo Ornati <ornati@...twebnet.it>
To:	Bart Trojanowski <bart@...ie.net>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: how to tell linux (on x86) to ignore 1M or memory

On Thu, 19 Apr 2007 10:18:04 -0400
Bart Trojanowski <bart@...ie.net> wrote:

> I need to preserve some state from the bios before entering protected
> mode.  For now I want to copy it into some ram accessible by real-mode,
> say the last megabyte visible in real-mode.
> 
> What's the easiest way to have linux ignore the megabyte starting at 15M?
> 

Documentation/kernel-parameters.txt:

        memmap=nn[KMG]$ss[KMG]
                        [KNL,ACPI] Mark specific memory as reserved.
                        Region of memory to be used, from ss to ss+nn.


So adding this to kernel boot parameters should do the trick:

	memmap=15M$1M

-- 
	Paolo Ornati
	Linux 2.6.21-rc7-CFS-v3-g6262cd9f on x86_64
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ