fwaltna.c
来自「WinCE 3.0 BSP, 包含Inter SA1110, Intel_815」· C语言 代码 · 共 63 行
C
63 行
/*++
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.
Copyright (c) 1995, 1996, 1997 Microsoft Corporation
Module Name:
fwaltna.c
Abstract:
This module implements the code necessary to initialize the Altoona HW and
Kernel interface routines.
Notes:
--*/
#include <windows.h>
#include <nkintr.h>
#include <oalio.h>
#include <altoona.h>
const DWORD OEMTLBSize = 0x0000002f;
//
// This routine is invoked when the OFF button is pressed. It is responsible
// for any final power off state and putting the cpu into standby.
//
// Entry none
// Exit none
void OEMPowerOff(void)
{
INTERRUPTS_OFF();
WaitForReset:
goto WaitForReset;
}
//
// This routine is called by the kernel when there are no threads ready to
// run. The CPU should be put into a reduced power mode and halted. It is important
// to be able to resume execution quickly upon receiving an interrupt.
//
// NOTE: Interrupts are disabled when this routine called and must not be reenabled
// unless the functions is going to return immediately.
//
// Entry (a0) = base PSR value
// Exit none
void OEMIdle(void)
{
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?