feature.c

来自「老外的一个开源项目」· C语言 代码 · 共 38 行

C
38
字号
// Copyright (c) David Vescovi.  All rights reserved.
// Part of Project DrumStix
// Windows Embedded Developers Interest Group (WE-DIG) community project.
// http://www.we-dig.org
// Copyright (c) Microsoft Corporation.  All rights reserved.
//------------------------------------------------------------------------------
//
//  File:  feature.c
//
//------------------------------------------------------------------------------
#include <windows.h>
#include <winnt.h>
#include <oal.h>

//------------------------------------------------------------------------------
//
//  Function:  OALIsProcessorFeaturePresent
//
//  Called to determine the processor's supported feature set.
//
BOOL OALIsProcessorFeaturePresent(DWORD feature)
{
	BOOL rc;

	switch (feature)
	{
	case PF_ARM_INTEL_XSCALE:
		rc = TRUE;
		break;
	default:
		rc = FALSE;
	}
	return rc;
}

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

⌨️ 快捷键说明

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