code: def _parse_linux_cmdline(cmdline):
      
      result = OrderedDict()
      for kv in cmdline.strip().split():
          if '=' in kv:
              # limit max split to only 1, to correctly handle cases like
              # `root=UUID=c9d37675-ef02-42f0-8900-a72ec2cd0f56`
              k, v = kv.split('=', 1)
              result[k] = v
  
          else:
              # represent "boolean" flags like `ro` as a key with value `None`
              result[kv] = None
      return result
docs: Parse a Linux boot parameter line into key/value pairs.