lv1call.h (224106) | lv1call.h (224857) |
---|---|
1/*- 2 * Copyright (C) 2010 Nathan Whitehorn 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17 * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 18 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 20 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 22 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 23 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * | 1/*- 2 * Copyright (C) 2010 Nathan Whitehorn 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17 * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 18 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 20 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 22 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 23 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * |
25 * $FreeBSD: head/sys/boot/powerpc/ps3/lv1call.h 224106 2011-07-16 19:01:09Z nwhitehorn $ | 25 * $FreeBSD: head/sys/boot/powerpc/ps3/lv1call.h 224857 2011-08-14 00:20:37Z nwhitehorn $ |
26 */ 27 28#ifndef _PS3_LV1CALL_H 29#define _PS3_LV1CALL_H 30 31#include <machine/pte.h> 32 33int lv1_get_physmem(uint64_t *maxmem); --- 30 unchanged lines hidden (view full) --- 64int lv1_net_init(int bus, int dev); 65int lv1_net_control(int bus, int dev, int, int, int, int, uint64_t *); 66int lv1_net_start_tx_dma(int bus, int dev, uint32_t addr, int); 67int lv1_net_start_rx_dma(int bus, int dev, uint32_t addr, int); 68int lv1_net_stop_tx_dma(int bus, int dev, int); 69int lv1_net_stop_rx_dma(int bus, int dev, int); 70 71int lv1_get_repository_node_value(uint64_t lpar_id, uint64_t n1, uint64_t n2, | 26 */ 27 28#ifndef _PS3_LV1CALL_H 29#define _PS3_LV1CALL_H 30 31#include <machine/pte.h> 32 33int lv1_get_physmem(uint64_t *maxmem); --- 30 unchanged lines hidden (view full) --- 64int lv1_net_init(int bus, int dev); 65int lv1_net_control(int bus, int dev, int, int, int, int, uint64_t *); 66int lv1_net_start_tx_dma(int bus, int dev, uint32_t addr, int); 67int lv1_net_start_rx_dma(int bus, int dev, uint32_t addr, int); 68int lv1_net_stop_tx_dma(int bus, int dev, int); 69int lv1_net_stop_rx_dma(int bus, int dev, int); 70 71int lv1_get_repository_node_value(uint64_t lpar_id, uint64_t n1, uint64_t n2, |
72 uint64_t n3, uint64_t n4, uint64_t *v1, uint64_t *v2); | 72 uint64_t n3, uint64_t n4, uint64_t *v1, uint64_t *v2); |
73 | 73 |
74int lv1_storage_read(uint64_t dev_id, uint64_t region_id, 75 uint64_t start_sector, uint64_t sector_count, 76 uint64_t flags, uint64_t buf, uint64_t *tag); 77int lv1_storage_check_async_status(uint64_t dev_id, uint64_t tag, uint64_t *status); | 74int lv1_storage_read(uint64_t dev_id, uint64_t region_id, uint64_t start_sector, 75 uint64_t sector_count, uint64_t flags, uint64_t buf, uint64_t *tag); 76int lv1_storage_check_async_status(uint64_t dev_id, uint64_t tag, 77 uint64_t *status); |
78 79#endif 80 | 78 79#endif 80 |