singrdk/base/Kernel/Native/Platform.cpp

23 lines
604 B
C++
Raw Normal View History

2008-11-17 18:29:00 -05:00
////////////////////////////////////////////////////////////////////////////////
//
// Microsoft Research Singularity
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// File: Platform.cpp
//
// Note: Kernel Only
//
#include "hal.h"
void Class_Microsoft_Singularity_Hal_Platform::g_NativeKill(int32 action)
{
Class_Microsoft_Singularity_Hal_Platform::c_thePlatform->KillAction = action;
void (__cdecl *pfKill)(void) = (void (__cdecl *)(void))Class_Microsoft_Singularity_Hal_Platform::c_thePlatform->Kill32;
pfKill();
__debugbreak();
}