Memory Management HAndling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have been working on MMU of Linux Port of 2.4.20 kernel for MIPS Port.

I have found that MACROS like

#define __pa(x)		((unsigned long) (x) - PAGE_OFFSET)
#define __va(x)		((void *)((unsigned long) (x) + PAGE_OFFSET))
#define virt_to_page(kaddr)	(mem_map + (__pa(kaddr) >> PAGE_SHIFT))


These macros can handle memory pages in KSEG0. Any suggestions on how
can they be changed for addressing memory present in HIGHMEM. Since VA
will not be in linear relation with mem_map.
Rishabh Kumar Goel
Software Engineer

SoCrates Software India Pvt. Ltd.
a TOSHIBA Group Company
#10, Industrial Layout,
Prestige Atlanta,
III Block, Koramangala,
Bangalore - 560034

Ph. 080-51101669



The information contained in this e-mail message and in any annexure is
confidential to the  recipient and may contain privileged information. If you are not
the intended recipient, please notify the sender and delete the message along with
any annexure. You should not disclose, copy or otherwise use the information contained
in the message or any annexure. Any views expressed in this e-mail are those of the
individual sender except where the sender specifically states them to be the views of
SoCrates Software India Pvt Ltd., Bangalore.
BEGIN:VCARD
VERSION:2.1
N:Goel;Rishabh Kumar
FN:Rishabh Kumar Goel
ORG:Socrates Software India Pvt Ltd.;OS & DD
TITLE:SE
TEL;WORK;VOICE:51101669    Ext:2669
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;Socrates Software India Pvt. Ltd.;10 Bride Street, =0D=0ALangford Town;Bang=
alore;Karnataka;560025;INDIA
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Socrates Software India Pvt. Ltd.=0D=0A10 Bride Street, =0D=0ALangford Town=
=0D=0ABangalore, Karnataka 560025=0D=0AINDIA
EMAIL;PREF;INTERNET:Rishabh@xxxxxxxxxxxx
REV:20050217T060842Z
END:VCARD

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux