smbioshandler:move bmc region complete,Write& Lock

Rewrite "MDR_COMPLETE, WRITE & LOCK" cmds to new IPMI provider API.

Tested:
verified using ipmitool smbioshandler commands.
a. bmc region update complete
Command: ipmitool raw 0x3E 0x21 0xff 0xff
Output: Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0
        cmd=0x21 rsp=0xc9): Parameter out of range
Command: ipmitool raw 0x3E 0x21 0xff 0x0
Output: Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0
        cmd=0x21 rsp=0xd5): Command not supported in present state

b. bmc region write
Command: ipmitool raw 0x3E 0X24 0x01 0x2 0x03 0x00 0x01 04 0x01 0x01
Output: Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0
        cmd=0x24 rsp=0xd5): Command not supported in present state

c. bmc region lock, before and after the changes.
Command: ipmitool raw 0x3E 0X25 0x00 0x01 0x01 0xff 0xff
Output: f3

Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
Change-Id: I05c572c2fe4bd38091301944e85d9246bcf1faa5
2 files changed