Skip to contentSkip to conversation

When copy, which function the operation system calls

DISCUSSION Ai Chengshi 2 participants 3 messages Jan 17, 2004 – Jan 20, 2004 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

SGksDQoNCldoZW4gSSB0eXBlZCBjcCB0ZXN0LmJpbiAvZGV2L2ZiZGlyLzAsIHdoaWNoIGZ1bmN0 aW9uIGRvZXMgdGhlIExpbnV4IGNhbGw/IEFuZCBpZiBJIHdhbnQgdG8gd3JpdGUgdGhlIGNvbnRl bnQgaW4gdGhlIGJ1ZmZlciB0byBMQ0QgY29udHJvbGxlciBHUkFNLCB3aGVyZSBzaG91bGQgSSBh ZGQgdGhpcyBmdW5jdGlvbj8NCg0KWW91cnMgU2luY2VyZWx5LA0KDQpBaSBDaGVuZ3NoaSA=

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

#1 lore raw
Quoted 4 lines

Hi,

When I typed cp test.bin /dev/fbdir/0, which function does the Linux call?

fb_write in fbmem.c.

Quoted 2 lines

And if I want to write the content in the buffer to LCD controller GRAM, where should I add this function?

Which kernel, v2.4 or v2.6? The api is different in each case.

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

#2 lore raw

Dear James Simmons,

I have read the Linux framebuffer drivers-HOWTO written by you on the web. I found that the drivers you mentioned were most developed on Linux V2.6. However, the kernel I used was V2.4. Then how should I do?

Thanks for your help.

Yours sincerely,
Ai Chengshi
----- Original Message -----
From: "James Simmons" <[email protected]>
To: "Ai Chengshi" <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, January 20, 2004 08:23
Subject: Re: [Linux-fbdev-devel] When copy, which function the operation system calls

Quoted 4 lines
Quoted 4 lines

Hi,

When I typed cp test.bin /dev/fbdir/0, which function does the Linux

call?

Quoted 12 lines

fb_write in fbmem.c.

Quoted 2 lines

And if I want to write the content in the buffer to LCD controller GRAM, where should I add this function?

Which kernel, v2.4 or v2.6? The api is different in each case.

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn