2 * Copyright (C) 2013, The AROS Development Team
4 * Author: Jason S. McMullan <jason.mcmullan@gmail.com>
6 * Licensed under the AROS PUBLIC LICENSE (APL) Version 1.1
9 #include <proto/exec.h>
11 #include <aros/symbolsets.h>
13 #include LC_LIBDEFS_FILE
16 static int Nonvolatile_InitLib(LIBBASETYPE
*nvBase
)
18 nvBase
->nv_nvdBase
= OpenLibrary("nvdisk.library", 0);
19 return (nvBase
->nv_nvdBase
!= NULL
);
22 static int Nonvolatile_ExpungeLib(LIBBASETYPE
*nvBase
)
24 CloseLibrary(nvBase
->nv_nvdBase
);
28 ADD2INITLIB(Nonvolatile_InitLib
, 0)
29 ADD2EXPUNGELIB(Nonvolatile_ExpungeLib
, 0)