// SPDX-License-Identifier: MPL-2.0
#ifndef SH_LIB_DEVS_H
#define SH_LIB_DEVS_H
#include "std/status.h"
#include "std/type.h"
#include "std/string.h"
// DevS result type enum
enum sh_devs_RESULT_TYPE {
  SH_DEVS_LAPIC,
  SH_DEVS_IOAPIC,
  SH_DEVS_VALUE,
  SH_DEVS_BOOL
};
// DevS result structure
typedef struct {
  enum sh_devs_RESULT_TYPE type;
  sh_uint64 value;
} sh_devs_RESULT;
// Parse a DevS query
SH_STATUS sh_devs_query(char *path,sh_devs_RESULT *result);
#endif
