Hi All,
When mmaping elf image into memory, why offset vma need to subtract
eppnt-p_vaddr as the following code ?
static unsigned long elf_map()
{
...
unsigned long off = eppnt-p_offset - ELF_PAGEOFFSET(eppnt-p_vaddr);
...
}
Thanks in advance.
Jacky
Hi,
I am trying to write a simple filesystem to learn the basics of it.
I have decided on a simple layout for my filesystem where the first
block will be the super block and will contain the version
information etc. The second block will contain the list of inodes.
Third block onwards will be
On Fri, Mar 29, 2013 at 12:45 PM, Jacky jackycli...@163.com wrote:
Hi All,
When mmaping elf image into memory, why offset vma need to subtract
eppnt-p_vaddr as the following code ?
static unsigned long elf_map()
{
...
unsigned long off = eppnt-p_offset -
On Fri, Mar 29, 2013 at 3:03 PM, Jacky jackycli...@163.com wrote:
Great ! Thanks Prabhunath.
Let me make sure I understand you correctly:
Substracting ELF_PAGEOFFSET(eppnt-p_vaddr) from variable off makes vma
map the page-aligned file contents, right ?
Small change : Substracting
Great ! Thanks Prabhunath.
Let me make sure I understand you correctly:
Substracting ELF_PAGEOFFSET(eppnt-p_vaddr) from variable off makes vma map
the page-aligned file contents, right ?
在 2013-03-29 16:56:29,Prabhu nath gprabhun...@gmail.com 写道:
On Fri, Mar 29, 2013 at 12:45 PM, Jacky
On Fri, 29 Mar 2013, Sankar P wrote:
Hi,
I am trying to write a simple filesystem to learn the basics of it.
I have decided on a simple layout for my filesystem where the first
block will be the super block and will contain the version
information etc. The second block will contain the
-- Forwarded message --
From: Pranay Srivastava pran...@gmail.com
Date: Fri, 29 Mar 2013 15:53:21 +0530
Subject: Re: Creating mkfs for my custom filesystem
To: Sankar P sankar.curios...@gmail.com
On 3/29/13, Sankar P sankar.curios...@gmail.com wrote:
Hi,
I am trying to write
On Fri, Mar 29, 2013 at 3:56 PM, Pranay Srivastava pran...@gmail.com wrote:
-- Forwarded message --
From: Pranay Srivastava pran...@gmail.com
Date: Fri, 29 Mar 2013 15:53:21 +0530
Subject: Re: Creating mkfs for my custom filesystem
To: Sankar P sankar.curios...@gmail.com
On Tue, Mar 26, 2013 at 09:31:01PM +0200, Rami Rosen wrote:
Hi,
1) You can be sure that it does not use more than one rx queue.
You can find more info about RX queues in
http://media.wix.com/ugd//295986_4ef6dbdf11fd0a7f74f09741b4b5b2ee.pdf
(I wrote it, a shameless plug...)
2) Does
On 03/29/2013 06:48 PM, Sankar P wrote:
On Fri, Mar 29, 2013 at 3:56 PM, Pranay Srivastava pran...@gmail.com wrote:
-- Forwarded message --
From: Pranay Srivastava pran...@gmail.com
Date: Fri, 29 Mar 2013 15:53:21 +0530
Subject: Re: Creating mkfs for my custom filesystem
To:
On Fri, 29 Mar 2013 15:44:49 +0530, Sankar P said:
I have decided on a simple layout for my filesystem where the first
block will be the super block and will contain the version
information etc. The second block will contain the list of inodes.
Third block onwards will be data blocks. Each
On Tue, Mar 26, 2013 at 09:31:01PM +0200, Rami Rosen wrote:
Hi,
1) You can be sure that it does not use more than one rx queue.
You can find more info about RX queues in
http://media.wix.com/ugd//295986_4ef6dbdf11fd0a7f74f09741b4b5b2ee.pdf
Thank you so much for sharing this.
On Fri, 29 Mar 2013, Sankar P wrote:
On Fri, Mar 29, 2013 at 3:28 PM, Tobias Boege tob...@gambas-buch.de wrote:
On Fri, 29 Mar 2013, Sankar P wrote:
Hi,
I am trying to write a simple filesystem to learn the basics of it.
I have decided on a simple layout for my filesystem where the
On Fri, Mar 29, 2013 at 1:27 AM, Sankar P sankar.curios...@gmail.comwrote:
Hi,
I am trying to write a simple filesystem to learn the basics of it.
I have decided on a simple layout for my filesystem where the first
block will be the super block and will contain the version
information
2013/3/29 Sven Geggus li...@fuchsschwanzdomain.de
Hello,
I have a userland application on Raspberry Pi which uses select to read
input from a button connected to gpio like this:
GPIO --+ BUTTON - GND
|
+--- RESISTOR 2k -- VCC (3.3V)
The sysfs file I use select at
On Fri, Mar 29, 2013 at 10:57 PM, Manish Katiyar mkati...@gmail.com wrote:
On Fri, Mar 29, 2013 at 1:27 AM, Sankar P sankar.curios...@gmail.com
wrote:
Hi,
I am trying to write a simple filesystem to learn the basics of it.
I have decided on a simple layout for my filesystem where the
Suppose that I have two big filesystems, dest fs and source fs.. I want
to copy whole source fs to dest fs, but I need to keep
source filesystem online I can't mount source fs read only and copy..
The idea is, mount both filesystems together, and make write/read
operations go on this way
Read
On Fri, Mar 29, 2013 at 4:09 PM, Daniel Hilst danielhi...@gmail.com wrote:
Suppose that I have two big filesystems, dest fs and source fs.. I want
to copy whole source fs to dest fs, but I need to keep
source filesystem online I can't mount source fs read only and copy..
The idea is, mount
On Fri, 29 Mar 2013 17:09:14 -0300, Daniel Hilst said:
The idea is, mount both filesystems together, and make write/read
operations go on this way
Read operations:
1. See if data is already on dest fs,
2. If is then read data and bright back to caller (lets call this
cold read)
19 matches
Mail list logo