sandboxfs.c (b939689c7b87773c44275a578ffc8674a867e39d) sandboxfs.c (4101f6879256720b30df712089a3df18565f9203)
1/*
2 * Copyright (c) 2012, Google Inc.
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#include <common.h>
8#include <fs.h>
9#include <os.h>
10
1/*
2 * Copyright (c) 2012, Google Inc.
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#include <common.h>
8#include <fs.h>
9#include <os.h>
10
11int sandbox_fs_set_blk_dev(block_dev_desc_t *rbdd, disk_partition_t *info)
11int sandbox_fs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info)
12{
13 /*
12{
13 /*
14 * Only accept a NULL block_dev_desc_t for the sandbox, which is when
14 * Only accept a NULL struct blk_desc for the sandbox, which is when
15 * hostfs interface is used
16 */
17 return rbdd != NULL;
18}
19
20int sandbox_fs_read_at(const char *filename, loff_t pos, void *buffer,
21 loff_t maxsize, loff_t *actread)
22{

--- 119 unchanged lines hidden ---
15 * hostfs interface is used
16 */
17 return rbdd != NULL;
18}
19
20int sandbox_fs_read_at(const char *filename, loff_t pos, void *buffer,
21 loff_t maxsize, loff_t *actread)
22{

--- 119 unchanged lines hidden ---