/* This function registers or unregisters a function which will be called whenever a new ACPI table is installed. */
EFI_STATUS EFIAPI RegisterNotify(IN BOOLEAN Register, IN EFI_ACPI_NOTIFICATION_FN Notification)
/* This function registers or unregisters a function which will be called whenever a new ACPI table is installed. */
EFI_STATUS EFIAPI RegisterNotify(IN BOOLEAN Register, IN EFI_ACPI_NOTIFICATION_FN Notification)
{
  if (Notification == NULL) {
    return EFI_INVALID_PARAMETER;
  }
  if (Register) {
    SdtRegisterNotify (Notification);
    return EFI_SUCCESS;
  } else {
    return SdtUnregisterNotify (Notification);
  }
}