linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Marcus Sundberg <erammsu@kieraypc01.p.y.ki.era.ericsson.se>
To: ZhangWeiXue@asdc.com.cn
Cc: Linux MM <linux-mm@kvack.org>
Subject: Re: I do not know what the code means.
Date: Mon, 14 Jun 1999 12:31:32 +0200	[thread overview]
Message-ID: <3764DA04.99899B05@switchboard.ericsson.se> (raw)
In-Reply-To: <3765243A.8926786B@asdc.com.cn>

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/

      reply	other threads:[~1999-06-14 10:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-14 15:48 ZhangWeiXue
1999-06-14 10:31 ` Marcus Sundberg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3764DA04.99899B05@switchboard.ericsson.se \
    --to=erammsu@kieraypc01.p.y.ki.era.ericsson.se \
    --cc=ZhangWeiXue@asdc.com.cn \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox