mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
This is needed for non-volatile register emulation. Also, this can be used to implement system jump or reset flags. BUG=chrome-os-partner:19235 TEST=Run utils test. Check persistent storage file exists. BRANCH=None Change-Id: I699f95718ef6f5de6c3bbb4e37619ee015fb6c4a Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/50313 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
18 lines
421 B
C
18 lines
421 B
C
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
/* Persistence module for emulator */
|
|
|
|
#ifndef _PERSISTENCE_H
|
|
#define _PERSISTENCE_H
|
|
|
|
#include <stdio.h>
|
|
|
|
FILE *get_persistent_storage(const char *tag, const char *mode);
|
|
|
|
void release_persistent_storage(FILE *ps);
|
|
|
|
#endif /* _PERSISTENCE_H */
|