oal_info_mips.h

来自「Windows CE 6.0 BSP for VOIPAC Board (PXA」· C头文件 代码 · 共 47 行

H
47
字号
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
//------------------------------------------------------------------------------
//
//  File:  oal_info_mips.h
//
#ifndef __OAL_INFO_MIPS_H
#define __OAL_INFO_MIPS_H

#if __cplusplus
extern "C" {
#endif

//------------------------------------------------------------------------------

#define OAL_MIPS_COMP_ID_NONE   0
#define OAL_MIPS_COMP_ID_MIPS   1
#define OAL_MIPS_COMP_ID_AMD    3

typedef union {
    struct {
        UINT32 revision:8;
        UINT32 processorId:8;
        UINT32 companyId:8;
        UINT32 option:8;
    };
    UINT32 value;
} OAL_MIPS_PROCESSOR_ID;

UINT32 OALMIPSGetProcessorId();

//------------------------------------------------------------------------------

#if __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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