blob: 43829ae16e8e9f1b618c1d309a708f399981f4f2 [file] [log] [blame]
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001/* Copyright (c) 2008-2010, Code Aurora Forum. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13#ifndef DIAGMEM_H
14#define DIAGMEM_H
15#include "diagchar.h"
16
17void *diagmem_alloc(struct diagchar_dev *driver, int size, int pool_type);
18void diagmem_free(struct diagchar_dev *driver, void *buf, int pool_type);
19void diagmem_init(struct diagchar_dev *driver);
20void diagmem_exit(struct diagchar_dev *driver, int pool_type);
21
22#endif