Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Smi_Windows.cpp

Go to the documentation of this file.
00001 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
00002  * vim:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=c:cindent:textwidth=0:
00003  *
00004  * Copyright (C) 2005 Dell Inc.
00005  *  by Michael Brown <Michael_E_Brown@dell.com>
00006  * Licensed under the Open Software License version 2.1
00007  *
00008  * Alternatively, you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published
00010  * by the Free Software Foundation; either version 2 of the License,
00011  * or (at your option) any later version.
00012  
00013  * This program is distributed in the hope that it will be useful, but
00014  * WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00016  * See the GNU General Public License for more details.
00017  */
00018 
00019 // compat header should always be first header if including system headers
00020 #define LIBSMBIOS_SOURCE
00021 #include "smbios/compat.h"
00022 
00023 #include "SmiImpl.h"
00024 
00025 using namespace std;
00026 
00027 /*
00028  * This will eventually be implemented by using the windows dcdbas
00029  * driver to make smi calls. For now, just error them all out.
00030  */
00031 
00032 #define NOT_IMPLEMENTED { throw smbios::NotImplementedImpl("SMI calls are not yet implemented on Windows."); }
00033 
00034 
00035 namespace smi
00036 {
00037     SmiArchStrategy::SmiArchStrategy() {}
00038     SmiArchStrategy::~SmiArchStrategy() {}
00039     void SmiArchStrategy::lock() NOT_IMPLEMENTED
00040     size_t SmiArchStrategy::getPhysicalBufferBaseAddress() NOT_IMPLEMENTED 
00041     void SmiArchStrategy::setSize(int) NOT_IMPLEMENTED
00042     void SmiArchStrategy::addInputBuffer(u8 *, size_t) NOT_IMPLEMENTED
00043     void SmiArchStrategy::getResultBuffer(u8 *, size_t) NOT_IMPLEMENTED
00044     void SmiArchStrategy::execute() NOT_IMPLEMENTED
00045     void SmiArchStrategy::finish() NOT_IMPLEMENTED
00046 }
00047 

Generated on Wed Apr 11 16:25:10 2007 for SMBIOS Library by doxygen 1.3.5