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:
parent
0ceb83958d
commit
63f50c210b
@ -26,13 +26,13 @@
|
|||||||
|
|
||||||
|
|
||||||
status_t
|
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;
|
DEVICE_DATA deviceData;
|
||||||
|
|
||||||
deviceData.pParameterSpace = (UINT32*)pspace;
|
deviceData.pParameterSpace = (UINT32*)parameterSpace;
|
||||||
deviceData.CAIL = handle;
|
deviceData.CAIL = handle;
|
||||||
deviceData.pBIOS_Image = (UINT8*)BIOSBase;
|
deviceData.pBIOS_Image = (UINT8*)biosBase;
|
||||||
deviceData.format = TABLE_FORMAT_BIOS;
|
deviceData.format = TABLE_FORMAT_BIOS;
|
||||||
|
|
||||||
switch (ParseTable(&deviceData, index)) {
|
switch (ParseTable(&deviceData, index)) {
|
||||||
|
@ -15,3 +15,8 @@ extern "C" {
|
|||||||
#include "CD_Definitions.h"
|
#include "CD_Definitions.h"
|
||||||
#include "atombios.h"
|
#include "atombios.h"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
status_t AtomParser(void *parameterSpace, uint8_t index,
|
||||||
|
void *handle, void *biosBase);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user