OpenCores
URL https://opencores.org/ocsvn/s6soc/s6soc/trunk

Subversion Repositories s6soc

[/] [s6soc/] [trunk/] [sw/] [host/] [llcomms.h] - Diff between revs 11 and 45

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 11 Rev 45
Line 53... Line 53...
        virtual void    kill(void)  { this->close(); };
        virtual void    kill(void)  { this->close(); };
        virtual void    close(void);
        virtual void    close(void);
        virtual void    write(char *buf, int len);
        virtual void    write(char *buf, int len);
        virtual int     read(char *buf, int len);
        virtual int     read(char *buf, int len);
        virtual bool    poll(unsigned ms);
        virtual bool    poll(unsigned ms);
 
 
 
        // Tests whether or not bytes are available to be read, returns a 
 
        // count of the bytes that may be immediately read
 
        virtual int     available(void); // { return 0; };
};
};
 
 
class   TTYCOMMS : public LLCOMMSI {
class   TTYCOMMS : public LLCOMMSI {
public:
public:
        TTYCOMMS(const char *dev);
        TTYCOMMS(const char *dev);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.