On Mon, May 13, 2013 at 11:29 PM, Thorsten Glaser <t...@mirbsd.de> wrote:
> OK, thanks. What about the others (amiga, bvme*, mac, two mvme*)?

arch/m68k/kernel/head.S has code to set up a 4 MiB mapping (1 page (4 KiB)
of 1024 PTEs) for the kernel, so it applies to all subplatforms:

/*
 *      mmu_init
 *
 *      This block of code does what's necessary to map in the various kinds
 *      of machines for execution of Linux.
 *      First map the first 4 MB of kernel code & data
 */

        mmu_map #PAGE_OFFSET,%pc@(L(phys_kernel_start)),#4*1024*1024,\
                %pc@(m68k_supervisor_cachemode)

I guess it can be extended, if really needed. Does it work if you
change the "#4"
above to "#8"?

Note that > 4 MiB kernels won't work on platforms where the first memory block
is smaller than the kernel size.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/camuhmdukta4yap_jmod+8fxqy40iuh9szojmnz2+dxmzmwp...@mail.gmail.com

Reply via email to