Annotation of sys/arch/landisk/stand/boot/libsa.h, Revision 1.1.1.1
1.1 nbrk 1: /* $OpenBSD: libsa.h,v 1.3 2006/10/29 14:47:59 drahn Exp $ */
2:
3: /*
4: * Copyright (c) 2006 Michael Shalayeff
5: * All rights reserved.
6: *
7: * Permission to use, copy, modify, and distribute this software for any
8: * purpose with or without fee is hereby granted, provided that the above
9: * copyright notice and this permission notice appear in all copies.
10: *
11: * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12: * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13: * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14: * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15: * WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER IN
16: * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
17: * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18: */
19:
20: #include <lib/libsa/stand.h>
21:
22: #define EXEC_ELF
23:
24: #define DEFAULT_KERNEL_ADDRESS 0
25:
26: #define PCLOCK 33333333
27:
28: int readsects(int dev, uint32_t lba, void *buf, size_t size);
29: int blkdevopen(struct open_file *, ...);
30: int blkdevclose(struct open_file *);
31: int blkdevstrategy(void *, int, daddr_t, size_t, void *, size_t *);
32: void scif_init(unsigned int);
33: int scif_getc(void);
34: void scif_putc(int);
35: void cache_flush(void);
36: void cache_disable(void);
CVSweb