sysmips.mh

来自「开放源码的编译器open watcom 1.6.0版的源代码」· MH 代码 · 共 32 行

MH
32
字号
/*
 *  sys/sysmips.h   MIPS architecture specific kernel call
 *
:include crwat.sp
 */
#ifndef _SYS_SYSMIPS_H_INCLUDED
#define _SYS_SYSMIPS_H_INCLUDED
:include readonly.sp
:include cpluspro.sp

#if !defined(__MIPS__)
    #error sysmips.h is only supported on MIPS architecture
#endif

/*
 * Commands for the sysmips(2) call
 *
 * sysmips(2) is deprecated - though some existing software uses it.
 * We only support the following commands.
 */
#define SETNAME                    1    /* set hostname                  */
#define FLUSH_CACHE                3    /* writeback and invalidate caches */
#define MIPS_FIXADE                7    /* control address error fixing  */
#define MIPS_RDNVRAM              10    /* read NVRAM */
#define MIPS_ATOMIC_SET         2001    /* atomically set variable       */

_WCRTLINK extern int sysmips( const int __cmd, const int __arg1, const int __arg2, const int __arg3 );

:include cplusepi.sp
#endif /* !_SYS_SYSMIPS_H_INCLUDED */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?