put AtomParser into header file, clean up var names to match style guidelines

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41113 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Alexander von Gluck IV 2011-03-26 16:25:59 +00:00
parent 0ceb83958d
commit 63f50c210b
2 changed files with 8 additions and 3 deletions

View File

@ -26,13 +26,13 @@
status_t
AtomBiosParser(void *pspace, uint8_t index, void *handle, void *BIOSBase)
AtomParser(void *parameterSpace, uint8_t index, void *handle, void *biosBase)
{
DEVICE_DATA deviceData;
deviceData.pParameterSpace = (UINT32*)pspace;
deviceData.pParameterSpace = (UINT32*)parameterSpace;
deviceData.CAIL = handle;
deviceData.pBIOS_Image = (UINT8*)BIOSBase;
deviceData.pBIOS_Image = (UINT8*)biosBase;
deviceData.format = TABLE_FORMAT_BIOS;
switch (ParseTable(&deviceData, index)) {

View File

@ -15,3 +15,8 @@ extern "C" {
#include "CD_Definitions.h"
#include "atombios.h"
}
status_t AtomParser(void *parameterSpace, uint8_t index,
void *handle, void *biosBase);