bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hardware API for CommonC++


From: David Sugar
Subject: Re: Hardware API for CommonC++
Date: Mon, 8 Dec 2003 14:59:41 -0500
User-agent: KMail/1.5.3

I think it would be very interesting, and I could see several places and 
possible projects I would use something like this already, so yes, I think it 
could be a very good addition.  How portable is this?  Is it very specific 
GNU/Linux, or can it be used/easily adapted for use with other operating 
systems and kernels, such FreeBSD for example?  

On Monday 08 December 2003 12:41 pm, Marc Boris Dürner wrote:
> Hi,
> This may be the wrong mailinglist, but I couldnt find another on the
> CommonC++ website.
>
> I am interested in adding a hardware API to the CommonC++ library. I have
> started such a project and the code is in CVS here:
> http://www.arklinux.org/cgi-bin/cvsweb.cgi/OSKit/HardwareKit/
>
> The name OSKit is misleading and has nothing to do with the OSKit from the
> universty of utah. The hardware library is for device detection and
> read/write from userspace. It depends only on libstdc++ and is not a
> wrapper for libpci or such. Currently a PCI,USB,PCMCIA,PS2,Serial Device
> API is in development and read/write to a device interface is planned to be
> implemented as streams.
>
> The two main features are:
> - Obtaining Device Information. Device objects can be constructed from the
> system id. In case of PCI it is the bus/device/function value as seen
> in /proc or the registry. After contruction the device information can be
> accessed
>
> - Read/write to a device interface. A stream can be constructed from a
> device interface and read/write operations can be performed.
>
> Is there a place for this in CommonC++?
>
> regards,
> Marc





reply via email to

[Prev in Thread] Current Thread [Next in Thread]