XFLAIM changes for building ring 0 NLMs.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@574 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
ahodgkinson
2006-06-14 19:41:55 +00:00
parent aa25f82410
commit 9f7ca8edd3
17 changed files with 603 additions and 168 deletions

View File

@@ -30,17 +30,21 @@ static FlmSharedContext * gv_pSharedContext = NULL;
FLMBOOL gv_bShutdown = FALSE;
FLMBOOL gv_bRunning = TRUE;
#ifdef FLM_RING_ZERO_NLM
#define main nlm_main
#endif
/***************************************************************************
Desc: Program entry point (main)
****************************************************************************/
int main(
extern "C" int main(
int, // iArgC,
char **) // ppucArgV
{
RCODE rc = NE_XFLM_OK;
FlmShell * pShell = NULL;
IF_DbSystem * pDbSystem = NULL;
if( RC_BAD( rc = FlmAllocDbSystem( &pDbSystem)))
{
goto Exit;