* Re: I do not know what the code means.
1999-06-14 15:48 I do not know what the code means ZhangWeiXue
@ 1999-06-14 10:31 ` Marcus Sundberg
0 siblings, 0 replies; 2+ messages in thread
From: Marcus Sundberg @ 1999-06-14 10:31 UTC (permalink / raw)
To: ZhangWeiXue; +Cc: Linux MM
ZhangWeiXue wrote:
>
> Dear all,
>
> The following code is cut from the head.s, I do not know exactly what it
> do?
> If you can explain the meaning of " .long 0x00102007 " and " .fill
> __USER_PGD_PTRS-1,4,0" for me,
> I will appreciate deeply.
> Best regards.
>
> /*
> * This is initialized to create a identity-mapping at 0-4M (for bootup
> * purposes) and another mapping of the 0-4M area at virtual address
> * PAGE_OFFSET.
> */
> .org 0x1000
> ENTRY(swapper_pg_dir)
> .long 0x00102007
> .fill __USER_PGD_PTRS-1,4,0
> /* default: 767 entries */
> .long 0x00102007
> /* default: 255 entries */
> .fill __KERNEL_PGD_PTRS-1,4,0
Hi,
There are zero files named 'head.s' and 12 files names 'head.S' in
the Linux kernel sources, so telling which file you are referring
to would have been good.
However this is not an MM or even Linux related question. You will
find the answer in the "Pseudo Ops" section of the GNU Assembler
manual ('info as').
//Marcus
--
-------------------------------+------------------------------------
Marcus Sundberg | http://www.stacken.kth.se/~mackan/
Royal Institute of Technology | Phone: +46 707 295404
Stockholm, Sweden | E-Mail: mackan@stacken.kth.se
--
To unsubscribe, send a message with 'unsubscribe linux-mm my@address'
in the body to majordomo@kvack.org. For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/
^ permalink raw reply [flat|nested] 2+ messages in thread
* I do not know what the code means.
@ 1999-06-14 15:48 ZhangWeiXue
1999-06-14 10:31 ` Marcus Sundberg
0 siblings, 1 reply; 2+ messages in thread
From: ZhangWeiXue @ 1999-06-14 15:48 UTC (permalink / raw)
To: Linux MM
Dear all,
The following code is cut from the head.s, I do not know exactly what it
do?
If you can explain the meaning of " .long 0x00102007 " and " .fill
__USER_PGD_PTRS-1,4,0" for me,
I will appreciate deeply.
Best regards.
/*
* This is initialized to create a identity-mapping at 0-4M (for bootup
* purposes) and another mapping of the 0-4M area at virtual address
* PAGE_OFFSET.
*/
.org 0x1000
ENTRY(swapper_pg_dir)
.long 0x00102007
.fill __USER_PGD_PTRS-1,4,0
/* default: 767 entries */
.long 0x00102007
/* default: 255 entries */
.fill __KERNEL_PGD_PTRS-1,4,0
--
To unsubscribe, send a message with 'unsubscribe linux-mm my@address'
in the body to majordomo@kvack.org. For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-06-14 10:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-14 15:48 I do not know what the code means ZhangWeiXue
1999-06-14 10:31 ` Marcus Sundberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox