mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-12-19 02:03:06 +00:00
17 lines
358 B
C
17 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
|