linux-mips
[Top] [All Lists]

Re: Custom kernel crashes

To: Manish Lachwani <mlachwani@mvista.com>
Subject: Re: Custom kernel crashes
From: Thomas Petazzoni <thomas.petazzoni@enix.org>
Date: Tue, 02 Nov 2004 18:22:54 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <4187BFF8.6000905@mvista.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <4187AF03.5030606@enix.org> <4187BB44.4030508@mvista.com> <4187BED1.2060208@enix.org> <4187BFF8.6000905@mvista.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla Thunderbird 0.8 (Windows/20040913)
Hello,

Manish Lachwani a écrit :

What are these values: NPP_BOARD_INTERNAL_SRAM_BASE, NPP_BOARD_INTERNAL_SRAM_END and NPP_BOARD_INTERNAL_SRAM_BASE.

#define NPP_BOARD_INTERNAL_SRAM_BASE 0xfe000000UL
#define NPP_BOARD_INTERNAL_SRAM_SIZE (256*1024)
#define NPP_BOARD_INTERNAL_SRAM_END  \
        (NPP_BOARD_INTERNAL_SRAM_BASE + NPP_BOARD_INTERNAL_SRAM_SIZE)

Do you think it's a problem related to the SRAM ?

Also, what is ENTRYLO() defined as?

static inline unsigned long ENTRYLO(unsigned long paddr)
{
        return ((paddr & PAGE_MASK) |
               (_PAGE_PRESENT | __READABLE | __WRITEABLE | _PAGE_GLOBAL |
                _CACHE_UNCACHED)) >> 6;
}

This code is taken from the jaguar_atx setup.c file.

Thanks,

Thomas
--
PETAZZONI Thomas - thomas.petazzoni@enix.org
http://thomas.enix.org - Jabber: kos_tom@sourcecode.de
KOS: http://kos.enix.org/ - Lolut: http://lolut.utbm.info
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E  1624 F653 CB30 98D3 F7A7

Attachment: signature.asc
Description: OpenPGP digital signature

<Prev in Thread] Current Thread [Next in Thread>