On 4/07/10 05:53 PM, 邓宁 wrote:
Dear all,
I am wanting to write a dynamic library for memory management research
uses. The experiment platform is Solaris10 while the shared library is
expected to support some on-chip SRAM management features. But I am now
having some troubles on how to start, could anybody tell me if there is
any tutorial or example for the shared library in solaris? many thanks.
> Regards
> Ning Deng
> School Of Computer Science and Technology
> Beijng Institute of Technology, China, 100081
Gday Ning,
I suggest starting with these references:
Solaris Linker and Libraries Guide
http://docs.sun.com/app/docs/doc/819-0690 (opensolaris)
http://docs.sun.com/app/docs/doc/817-1984?l=en (solaris 10)
and the
Solaris 10 Software Developer Collection:
http://docs.sun.com/app/docs/coll/45.20?l=en
The Linker and Libraries Guide gives a lot of examples.
If you want some real, in-use today source code examples,
might I suggest looking at
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libumem/
which is the source for Solaris' libumem allocator library.
Finally, as things are being migrated from sun.com/bigadmin
to Oracle Technology Network (OTN), you might find this blog
post about the changes to be a good point to jump from::
http://blogs.oracle.com/otn/2010/06/finding_it_difficult_to_keep_u.html
And there's also the Beijing OpenSolaris user group, which has
a mailing list found via
http://hub.opensolaris.org/bin/view/User+Group+bjosug/.
You're only a few km west of the Sun campus at Tsinghua Science Park,
which is where BJOSUG has met for a few years now.
hth,
James C. McPherson
--
Senior Software Engineer, Solaris
Oracle
http://www.jmcp.homeunix.com/blog
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss