I'm reading top-level makefile of kernel version of 2.6.25, and being
confused about
$(Q)@ in following lines:
124 $(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all:
sub-make
125 $(Q)@:
I know what's meaning for line 124, but what about line 125?
Hi all:
Sorry, everybody. I sent the same mail in HTML-FORMAT, so maybe there
presented
disorderly characters in your mail client program. It's time waste to open that
mail.
So sorry, and I resend this mail with same content...
I'm reading top-level makefile of kernel version of
Hi, all:
I'm reading top-level makefile of kernel version of 2.6.25, and
being confused about $(Q)@ in following lines:
124 $(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all:
sub-make
125 $(Q)@:
I know what's meaning for line 124, but what about line
Thanks for your generosity and your patience, I realy benefit from your great
help.
and ultimately, userspace open()-ing of the driver will definitely map
to (through sys_open-do_sys_open-do_filp_open()-dv1394_open()) the
per-device's open() API. this means THAT EVERY PROCESS that want to
Hi, all:
I allocated some physical pages using __get_free_pages() api and mapped
them into user-space with mmap() in my driver,
but It seems not be shared in multi process.
Following is content of /proc/157/maps file. The vma range of 40244000-40444000
mapped to /dev/mux_dev, notice the
I want to add a macro in module makefile, with which I can enable or disable
debugging, but
how to do it, the CFLAGS seems can't work. Thanks.
.and
many other reasons as well...
2009/4/15 yihect yih...@163.com:
I want to store some process-dependent information in my driver. I want to
init them in open() and
deinit them in flush(), these 2 methods get called when the app process
calling open() or close() functions.
But if one parent
I want to store some process-dependent information in my driver. I want to init
them in open() and
deinit them in flush(), these 2 methods get called when the app process calling
open() or close() functions.
But if one parent process forked child process with my driver opened. Than, is
the
Hi, all:
Im my device, there are many registers resider in several banks, these
registers are all
accessed by one IOCTL cmd in my driver. And there are 2 or 3 tasks will access
these registers simultaneously in app layer.
So, my question is: Is there some common model to do this kind of
2009/4/10 yihect yih...@163.com:
Hi, all:
Im my device, there are many registers resider in several banks, these
registers are all
Banks?? What is meant by that? Can you explain?
Yes, the device is connected by HPI interface. All registers are classified
purpose.
When app want
I can only suggest samples, common model u have to slowly go through
file by file. But I am not sure what kind of common model u are
looking for - commonality based on what attributes? In the kernel
source's drivers subdirectory:
Thanks for your help. Is this mail looks OK? This reply
Hi, all:
I'm a newbie of kernel. I'm working on my mux driver in hand, and want to
map some RAM(say, 1024*1024*2 bytes totally)into user space.
Accroding the LDD3 book, I'm using __get_free_pages() which be called in
nopage() operation of struct vm_operations_struct like follow:
It seems the mux_vma_nopage() operation hadn't been called.
- Original Message -
From: yihect
To: kernelnewbie
Cc: yih...@163.com
Sent: Thursday, March 26, 2009 1:48 PM
Subject: question about mapping RAM into user space.
Hi, all:
I'm a newbie of kernel. I'm
13 matches
Mail list logo