lug-bg: Shared memory
- Subject: lug-bg: Shared memory
- From: sn@xxxxxxxxx (Svetoslav Nikolov)
- Date: Fri, 28 Jul 2000 16:34:20 +0200
Zdraveite,
Niakoi znae li :
1) Kak da se alocira blok ot pametta, koito da ne se "swap"-va i da mu se
vzeme fizicheskia adres.
2) Vazmojno li e veche alociran blok ot pamet da se obiavi za "shared memory".
(za funkciite "shmget", "shmctl" i t.n. ot IPC sam chel no ne vijdam kak
mogat da izpulniat taka postavenata zadacha)
Zashto mi e nujno li ?
- Imam platka koiato moje da bude "busmaster" i da prehvurlia do 132 MB/sec.
Za celta obache na DMA controller-a i, triabva da podam fizicheski adres.
Programata koiato osnovno shte upravliava platkata po zaiavka triabva da
podade "pointer" na druga programa koiato da izpolzva dannite prehvarleni ot
platkata. Upravliavashtata programa ne e draiver, i se izpulniava v
tai-narechenia "user space".
Blagodaria predvaritelno za kakvito i da e saveti.
Svetoslav.
--
=====================================================
Svetoslav Nikolov
Dept. of Information Technology
Build. 344, room 209
Technical University of Denmark
DK-2800 Lyngby, Denmark
E-mail: sn@xxxxxxxxx
Phone : +45 45 25 37 05
Fax : +45 45 88 01 17
URL : http://www.it.dtu.dk/~sn
=====================================================
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|