PCI memory alloc..!

2004-06-29 Thread Auge Mike
Hi all,
While I was trying to track to find out how a device alloc a new memory 
resource, I have been little confused on finding out how the new PCI device 
can deal with a case when the activation calls pmap_mapdev

What I need to understand that what will happen if pmap_mapdev allocated a 
new space that dose not match what is expected by the device and determined 
by r_start and r_end ??

Yours,
_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


printf...! and BSD

2003-02-10 Thread Auge Mike




Hi,
First of all, Thanks to all of you for your help and support.

I have tried to go deeper and deeper to find out how "printf" works. ((( Of 
course the aim of trying to understand the "printf", is to understand how 
the internals of the BSD kernel work))) till i've faced the following
function:

  "fo_write"

which was confusing for me =)

Then, I've figured out that i need to understand two important things in the 
BSD to know how the "printf" works. The first thing is how dose the device 
driver works, and the second thing is the file system, and small knowledge 
about the process structure.

I will try to do that, but which resources can help me. For Linux, there are 
two great book which can make my life easier "FOR LINUX ONLY"
1.UNDERSTANDING THE LINUX KERNEL. 2.LINUX DEVICE DRIVERS.

Now what resources you can recommend for me! I prefer Internet resources.

Yours,




_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message


printf....!

2003-02-08 Thread Auge Mike




Hi all,

I was trying to know how "printf" works in FreeBSD... I hvae reached to this
point :

#define _write(fd, s, n) \
	__syscall(SYS_write, (int)(fd), (const void *)(s), (size_t)(n))

I'am not really familiar with the way FreeBSD handle interrupts. I like from
any one of you to tell me what functions will be called next and in which
files, till we get the string of the printf function argment displayed in
the terminal.

Yours,



_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message