Add PCIe error section parsing support.
diff --git a/cper-utils.c b/cper-utils.c
index c29b9df..e0823b2 100644
--- a/cper-utils.c
+++ b/cper-utils.c
@@ -170,4 +170,10 @@
     }
 
     return 1;
+}
+
+//Converts the given BCD byte to a standard integer.
+int bcd_to_int(UINT8 bcd)
+{
+    return ((bcd & 0xF0) >> 4) * 10 + (bcd & 0x0F);
 }
\ No newline at end of file