mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
2b792ffc34
Signed-off-by: Sven Peter <sven@svenpeter.dev>
16 lines
358 B
C
16 lines
358 B
C
/* SPDX-License-Identifier: MIT */
|
|
|
|
#ifndef SART_H
|
|
#define SART_H
|
|
|
|
#include "types.h"
|
|
|
|
typedef struct sart_dev sart_dev_t;
|
|
|
|
sart_dev_t *sart_init(const char *adt_path);
|
|
void sart_free(sart_dev_t *asc);
|
|
|
|
bool sart_add_allowed_region(sart_dev_t *sart, void *paddr, size_t sz);
|
|
bool sart_remove_allowed_region(sart_dev_t *sart, void *paddr, size_t sz);
|
|
|
|
#endif
|