linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Strange mapping at 0xffc00000
@ 1999-05-05 20:48 Jim Somerville
  1999-05-06  1:52 ` Paul Mackerras
  0 siblings, 1 reply; 2+ messages in thread
From: Jim Somerville @ 1999-05-05 20:48 UTC (permalink / raw)
  To: 'linuxppc-dev@lists.linuxppc.org'


I have started using the 2.2.5 kernel from 2.1.24 previously, and have found
a
new 4 Meg mapping up at 0xffc00000 that was not there before.  This mapping
is
setup in arch/ppc/kernel/pmac_setup.c, in routine pmac_setup_arch with the
following line:

        __ioremap(0xffc00000, 0x400000, pgprot_val(PAGE_READONLY));

It may be related to SMP support on some Macs (9600?) but the comments near
it
are vague.  I have not enabled SMP in the kernel via config, and this
mapping
does not look "config" optional.  I removed this line, rebuilt the kernel,
and
everything is fine, at least on the 7300.  This mapping interferes with a
large
emulator application that I maintain...I don't want junk returned when
dereferencing a bad pointer that happens to point up there.  Can anyone shed
some light, or provide a link to an explanation?  Thanks.

-Jim

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Strange mapping at 0xffc00000
  1999-05-05 20:48 Strange mapping at 0xffc00000 Jim Somerville
@ 1999-05-06  1:52 ` Paul Mackerras
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Mackerras @ 1999-05-06  1:52 UTC (permalink / raw)
  To: somer; +Cc: linuxppc-dev


> I have started using the 2.2.5 kernel from 2.1.24 previously, and have found
> a
> new 4 Meg mapping up at 0xffc00000 that was not there before.  This mapping
> is
> setup in arch/ppc/kernel/pmac_setup.c, in routine pmac_setup_arch with the
> following line:
> 
>         __ioremap(0xffc00000, 0x400000, pgprot_val(PAGE_READONLY));

This is the Mac ROM.  I put that in when I was doing some experiments
to do with emulating the Mac hardware and running macos in user mode.

Paul.

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-05-06  1:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-05 20:48 Strange mapping at 0xffc00000 Jim Somerville
1999-05-06  1:52 ` Paul Mackerras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).