/*
 * Setmaxmem for aarch64
 *
 * Copyright
 *
 * Authors:
 *
 * This work is licensed under the terms of the GNU GPL, version 2.  See
 * the COPYING file in the top-level directory.
 *
 */

#ifndef _QEMU_SETMAXMEM_H
#define _QEMU_SETMAXMEM_H

#include <stdint.h>
#include "exec/cpu-common.h"

typedef void (QEMUSetmaxmemEvent)(void *opaque, ram_addr_t target);

int qemu_add_setmaxmem_handler(QEMUSetmaxmemEvent *event_func, void *opaque);
void qmp_setmaxmem(int64_t target, Error **errp);

#endif /* ifndef _QEMU_SETMAXMEM_H */
