/* This function works for both ASL and AML pathnames. Buffer must be at least 2 bytes long. */
BOOLEAN EFIAPI AmlIsRootPath(IN CONST CHAR8 *Buffer)
/* This function works for both ASL and AML pathnames. Buffer must be at least 2 bytes long. */
BOOLEAN EFIAPI AmlIsRootPath(IN CONST CHAR8 *Buffer)
{
  if (Buffer == NULL) {
    return FALSE;
  }
  if ((Buffer[0] == AML_ROOT_CHAR) && (Buffer[1] == '\0')) {
    return TRUE;
  } else {
    return FALSE;
  }
}