1/* 2 * Copyright (c) 2014, University of Washington. 3 * All rights reserved. 4 * 5 * This file is distributed under the terms in the attached LICENSE file. 6 * If you do not find this file, copies can be found by writing to: 7 * ETH Zurich D-INFK, Universitaetstrasse 6, CH-8092 Zurich. Attn: Systems Group. 8 */ 9 10#include <barrelfish/barrelfish.h> 11#include <storage/vsa.h> 12#include <storage/vsic.h> 13#include <assert.h> 14 15errval_t storage_vsa_alloc(struct storage_vsa *vsa, size_t size) 16{ 17 // TODO: No capabilities yet. We need a manager process. 18 // XXX: We just always grant the request. 19 vsa->vsacap = NULL_CAP; 20 vsa->size = size; 21 return SYS_ERR_OK; 22} 23 24errval_t storage_vsa_resize(struct storage_vsa *vsa, size_t newsize) 25{ 26 assert(!"NYI"); 27} 28