blob: a8866ef6d2daeeaaea550944b4c909822cda2d2f [file] [log] [blame]
Rafal Jaworowskia19be782008-01-09 19:39:36 +01001/*
2 * (C) Copyright 2007 Semihalf
3 *
4 * Written by: Rafal Jaworowski <raj@semihalf.com>
5 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02006 * SPDX-License-Identifier: GPL-2.0+
Rafal Jaworowskia19be782008-01-09 19:39:36 +01007 */
8
9#ifndef _API_PRIVATE_H_
10#define _API_PRIVATE_H_
11
12void api_init(void);
13void platform_set_mr(struct sys_info *, unsigned long, unsigned long, int);
14int platform_sys_info(struct sys_info *);
15
16void dev_enum_reset(void);
17int dev_enum_storage(struct device_info *);
18int dev_enum_net(struct device_info *);
19
20int dev_open_stor(void *);
21int dev_open_net(void *);
22int dev_close_stor(void *);
23int dev_close_net(void *);
24
25lbasize_t dev_read_stor(void *, void *, lbasize_t, lbastart_t);
26int dev_read_net(void *, void *, int);
27int dev_write_net(void *, void *, int);
28
29void dev_stor_init(void);
30
Che-Liang Chiou0d460412011-10-20 23:04:22 +000031int display_get_info(int type, struct display_info *di);
32int display_draw_bitmap(ulong bitmap, int x, int y);
33void display_clear(void);
34
Rafal Jaworowskia19be782008-01-09 19:39:36 +010035#endif /* _API_PRIVATE_H_ */