From owner-freebsd-hackers Sun Jul 19 03:06:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA25714 for freebsd-hackers-outgoing; Sun, 19 Jul 1998 03:06:22 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from numeri.campus.luth.se (numeri.campus.luth.se [130.240.197.103]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA25672 for ; Sun, 19 Jul 1998 03:06:09 -0700 (PDT) (envelope-from k@numeri.campus.luth.se) Received: from numeri.campus.luth.se (localhost [127.0.0.1]) by numeri.campus.luth.se (8.8.8/8.8.8) with ESMTP id LAA03909; Sun, 19 Jul 1998 11:22:17 +0200 (CEST) (envelope-from k@numeri.campus.luth.se) Message-Id: <199807190922.LAA03909@numeri.campus.luth.se> X-Mailer: exmh version 2.0.2 2/24/98 To: "Babkin, Serge" cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Special memory board on ISA bus In-reply-to: Your message of "Thu, 16 Jul 1998 12:17:11 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Sun, 19 Jul 1998 11:22:16 +0200 From: Johan Karlsson Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I have a special memory board on the ISA bus that responds to > > addresses from > > BOARD_BASE up to BOARD_BASE+BOARD_MASK. > > > Is it mapped in ISA hole under 1M or over it ? Currently BOARD_BASE is 8MB and BOARD_MASK is 512kB However I need to be able to make the BOARD_MASK alot more, say at least 4MB. Hence, the BIOS configured hole is too small. > You can add it to machdep.c, > to the memory size probe routine and add one more entry to the array > describing the physical memory. I guess this is what I have to do. > But there is a catch: the kernel is > loaded > over 1M, into the second contiguous piece of memory that is normally the > biggest. But if you have 15M hole and 32M of memory, the third piece > would be the biggest, and the VM initialization code is thinking that > the > kernel is in the biggest piece, not the second. That would be wrong and > need to be fixed. Can I move the kernel to start at BOARD_BASE+BOARD_MASK? This would be the biggest piece for me and then the VM would look there, correct? /K -- Johan Karlsson mailto:k@numeri.campus.luth.se SWEDEN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message