SMBIOS Library
Smi_Windows.cpp
Go to the documentation of this file.
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2  * vim:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=c:cindent:textwidth=0:
3  *
4  * Copyright (C) 2005 Dell Inc.
5  * by Michael Brown <Michael_E_Brown@dell.com>
6  * Licensed under the Open Software License version 2.1
7  *
8  * Alternatively, you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published
10  * by the Free Software Foundation; either version 2 of the License,
11  * or (at your option) any later version.
12 
13  * This program is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16  * See the GNU General Public License for more details.
17  */
18 
19 // compat header should always be first header if including system headers
20 #define LIBSMBIOS_SOURCE
21 #include "smbios/compat.h"
22 
23 #include "SmiImpl.h"
24 
25 using namespace std;
26 
27 /*
28  * This will eventually be implemented by using the windows dcdbas
29  * driver to make smi calls. For now, just error them all out.
30  */
31 
32 #define NOT_IMPLEMENTED { throw smbios::NotImplementedImpl("SMI calls are not yet implemented on Windows."); }
33 
34 
35 namespace smi
36 {
37  SmiArchStrategy::SmiArchStrategy() {}
38  SmiArchStrategy::~SmiArchStrategy() {}
39  void SmiArchStrategy::lock() NOT_IMPLEMENTED
40  size_t SmiArchStrategy::getPhysicalBufferBaseAddress() NOT_IMPLEMENTED
42  void SmiArchStrategy::addInputBuffer(u8 *, size_t) NOT_IMPLEMENTED
43  void SmiArchStrategy::getResultBuffer(u8 *, size_t) NOT_IMPLEMENTED
44  void SmiArchStrategy::execute() NOT_IMPLEMENTED
45  void SmiArchStrategy::finish() NOT_IMPLEMENTED
46 }
47