def METHOD_NAME(ql: Qiling, address: int, params):
    Width    = params['Width']
    Register = params['Register']
    CpuIndex = params['CpuIndex']
    Buffer   = params['Buffer']
    # currently supporting only one cpu
    if CpuIndex > 0:
        return EFI_INVALID_PARAMETER
    data = ql.mem.read(Buffer, Width)
    ql.os.smm.ssa.write(Register, bytes(data))
    return EFI_SUCCESS