[haiku-commits] r41113 - haiku/trunk/src/add-ons/accelerants/radeon_hd

  • From: kallisti5@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 26 Mar 2011 17:25:59 +0100 (CET)

Author: kallisti5
Date: 2011-03-26 17:25:59 +0100 (Sat, 26 Mar 2011)
New Revision: 41113
Changeset: https://dev.haiku-os.org/changeset/41113

Modified:
   haiku/trunk/src/add-ons/accelerants/radeon_hd/bios.cpp
   haiku/trunk/src/add-ons/accelerants/radeon_hd/bios.h
Log:
put AtomParser into header file, clean up var names to match style guidelines

Modified: haiku/trunk/src/add-ons/accelerants/radeon_hd/bios.cpp
===================================================================
--- haiku/trunk/src/add-ons/accelerants/radeon_hd/bios.cpp      2011-03-26 
16:19:25 UTC (rev 41112)
+++ haiku/trunk/src/add-ons/accelerants/radeon_hd/bios.cpp      2011-03-26 
16:25:59 UTC (rev 41113)
@@ -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)) {

Modified: haiku/trunk/src/add-ons/accelerants/radeon_hd/bios.h
===================================================================
--- haiku/trunk/src/add-ons/accelerants/radeon_hd/bios.h        2011-03-26 
16:19:25 UTC (rev 41112)
+++ haiku/trunk/src/add-ons/accelerants/radeon_hd/bios.h        2011-03-26 
16:25:59 UTC (rev 41113)
@@ -15,3 +15,8 @@
 #include "CD_Definitions.h"
 #include "atombios.h"
 }
+
+
+status_t AtomParser(void *parameterSpace, uint8_t index,
+       void *handle, void *biosBase);
+


Other related posts:

  • » [haiku-commits] r41113 - haiku/trunk/src/add-ons/accelerants/radeon_hd - kallisti5