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

Subversion Repositories s6soc

[/] [s6soc/] [trunk/] [sw/] [zipos/] [zipsys.h] - Diff between revs 27 and 45

Show entire file | Details | Blame | View Log

Rev 27 Rev 45
Line 77... Line 77...
#ifndef NULL
#ifndef NULL
#define NULL    ((void *)0)
#define NULL    ((void *)0)
#endif
#endif
 
 
static inline void      DISABLE_INTS(void) {
static inline void      DISABLE_INTS(void) {
        IOSPACE *sys = (IOSPACE *)IOADDR;
        _sys->io_pic = 0;
        sys->io_pic = 0;
 
}
}
 
 
static inline void      ENABLE_INTS(void) {
static inline void      ENABLE_INTS(void) {
        IOSPACE *sys = (IOSPACE *)IOADDR;
        _sys->io_pic = INT_ENABLE;
        sys->io_pic = INT_ENABLE;
 
}
}
 
 
#endif
#endif
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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