#include <shared.h>
#include <osdep.h>
#include "nic.h"
#include "linux-asm-io.h"
Idź do kodu źródłowego tego pliku.
Komponenty | |
union | bios32 |
struct | pci_device |
struct | in_addr |
struct | arptable_t |
struct | arprequest |
struct | iphdr |
struct | udphdr |
struct | bootp_t |
struct | bootpip_t |
struct | bootpd_t |
struct | tftp_t |
struct | tftpreq_t |
struct | rpc_t |
struct | rom_info |
struct | ebinfo |
struct | nic |
Definicje | |
#define | PCI_COMMAND_IO 0x1 |
#define | PCI_COMMAND_MEM 0x2 |
#define | PCI_COMMAND_MASTER 0x4 |
#define | PCI_LATENCY_TIMER 0x0d |
#define | PCIBIOS_PCI_FUNCTION_ID 0xb1XX |
#define | PCIBIOS_PCI_BIOS_PRESENT 0xb101 |
#define | PCIBIOS_FIND_PCI_DEVICE 0xb102 |
#define | PCIBIOS_FIND_PCI_CLASS_CODE 0xb103 |
#define | PCIBIOS_GENERATE_SPECIAL_CYCLE 0xb106 |
#define | PCIBIOS_READ_CONFIG_BYTE 0xb108 |
#define | PCIBIOS_READ_CONFIG_WORD 0xb109 |
#define | PCIBIOS_READ_CONFIG_DWORD 0xb10a |
#define | PCIBIOS_WRITE_CONFIG_BYTE 0xb10b |
#define | PCIBIOS_WRITE_CONFIG_WORD 0xb10c |
#define | PCIBIOS_WRITE_CONFIG_DWORD 0xb10d |
#define | PCI_VENDOR_ID 0x00 |
#define | PCI_DEVICE_ID 0x02 |
#define | PCI_COMMAND 0x04 |
#define | PCI_REVISION 0x08 |
#define | PCI_CLASS_CODE 0x0b |
#define | PCI_SUBCLASS_CODE 0x0a |
#define | PCI_HEADER_TYPE 0x0e |
#define | PCI_BASE_ADDRESS_0 0x10 |
#define | PCI_BASE_ADDRESS_1 0x14 |
#define | PCI_BASE_ADDRESS_2 0x18 |
#define | PCI_BASE_ADDRESS_3 0x1c |
#define | PCI_BASE_ADDRESS_4 0x20 |
#define | PCI_BASE_ADDRESS_5 0x24 |
#define | PCI_BASE_ADDRESS_IO_MASK (~0x03) |
#define | PCI_BASE_ADDRESS_SPACE_IO 0x01 |
#define | PCI_ROM_ADDRESS 0x30 |
#define | PCI_ROM_ADDRESS_ENABLE 0x01 |
#define | PCI_FUNC(devfn) ((devfn) & 0x07) |
#define | BIOS32_SIGNATURE (('_' << 0) + ('3' << 8) + ('2' << 16) + ('_' << 24)) |
#define | PCI_SIGNATURE (('P' << 0) + ('C' << 8) + ('I' << 16) + (' ' << 24)) |
#define | PCI_SERVICE (('$' << 0) + ('P' << 8) + ('C' << 16) + ('I' << 24)) |
#define | KERN_CODE_SEG 0x8 |
#define | save_flags(x) __asm__ __volatile__("pushfl ; popl %0":"=g" (x): /* no input */ :"memory") |
#define | cli() __asm__ __volatile__ ("cli": : :"memory") |
#define | restore_flags(x) __asm__ __volatile__("pushl %0 ; popfl": /* no output */ :"g" (x):"memory") |
#define | PCI_VENDOR_ID_ADMTEK 0x1317 |
#define | PCI_DEVICE_ID_ADMTEK_0985 0x0985 |
#define | PCI_VENDOR_ID_REALTEK 0x10ec |
#define | PCI_DEVICE_ID_REALTEK_8029 0x8029 |
#define | PCI_DEVICE_ID_REALTEK_8139 0x8139 |
#define | PCI_VENDOR_ID_WINBOND2 0x1050 |
#define | PCI_DEVICE_ID_WINBOND2_89C940 0x0940 |
#define | PCI_DEVICE_ID_WINBOND2_89C840 0x0840 |
#define | PCI_VENDOR_ID_COMPEX 0x11f6 |
#define | PCI_DEVICE_ID_COMPEX_RL2000 0x1401 |
#define | PCI_DEVICE_ID_COMPEX_RL100ATX 0x2011 |
#define | PCI_VENDOR_ID_KTI 0x8e2e |
#define | PCI_DEVICE_ID_KTI_ET32P2 0x3000 |
#define | PCI_VENDOR_ID_NETVIN 0x4a14 |
#define | PCI_DEVICE_ID_NETVIN_NV5000SC 0x5000 |
#define | PCI_VENDOR_ID_HOLTEK 0x12c3 |
#define | PCI_DEVICE_ID_HOLTEK_HT80232 0x0058 |
#define | PCI_VENDOR_ID_3COM 0x10b7 |
#define | PCI_DEVICE_ID_3COM_3C590 0x5900 |
#define | PCI_DEVICE_ID_3COM_3C595 0x5950 |
#define | PCI_DEVICE_ID_3COM_3C595_1 0x5951 |
#define | PCI_DEVICE_ID_3COM_3C595_2 0x5952 |
#define | PCI_DEVICE_ID_3COM_3C900TPO 0x9000 |
#define | PCI_DEVICE_ID_3COM_3C900COMBO 0x9001 |
#define | PCI_DEVICE_ID_3COM_3C905TX 0x9050 |
#define | PCI_DEVICE_ID_3COM_3C905T4 0x9051 |
#define | PCI_DEVICE_ID_3COM_3C905B_TX 0x9055 |
#define | PCI_DEVICE_ID_3COM_3C905C_TXM 0x9200 |
#define | PCI_VENDOR_ID_INTEL 0x8086 |
#define | PCI_DEVICE_ID_INTEL_82557 0x1229 |
#define | PCI_DEVICE_ID_INTEL_82559ER 0x1209 |
#define | PCI_DEVICE_ID_INTEL_ID1029 0x1029 |
#define | PCI_DEVICE_ID_INTEL_ID1030 0x1030 |
#define | PCI_DEVICE_ID_INTEL_82562 0x2449 |
#define | PCI_VENDOR_ID_AMD 0x1022 |
#define | PCI_DEVICE_ID_AMD_LANCE 0x2000 |
#define | PCI_VENDOR_ID_AMD_HOMEPNA 0x1022 |
#define | PCI_DEVICE_ID_AMD_HOMEPNA 0x2001 |
#define | PCI_VENDOR_ID_SMC_1211 0x1113 |
#define | PCI_DEVICE_ID_SMC_1211 0x1211 |
#define | PCI_VENDOR_ID_DEC 0x1011 |
#define | PCI_DEVICE_ID_DEC_TULIP 0x0002 |
#define | PCI_DEVICE_ID_DEC_TULIP_FAST 0x0009 |
#define | PCI_DEVICE_ID_DEC_TULIP_PLUS 0x0014 |
#define | PCI_DEVICE_ID_DEC_21142 0x0019 |
#define | PCI_VENDOR_ID_SMC 0x10B8 |
#define | PCI_DEVICE_ID_SMC_EPIC100 0x0005 |
#define | PCI_VENDOR_ID_MACRONIX 0x10d9 |
#define | PCI_DEVICE_ID_MX987x5 0x0531 |
#define | PCI_VENDOR_ID_LINKSYS 0x11AD |
#define | PCI_DEVICE_ID_LC82C115 0xC115 |
#define | PCI_VENDOR_ID_VIATEC 0x1106 |
#define | PCI_DEVICE_ID_VIA_RHINE_I 0x3043 |
#define | PCI_DEVICE_ID_VIA_VT6102 0x3065 |
#define | PCI_DEVICE_ID_VIA_86C100A 0x6100 |
#define | PCI_VENDOR_ID_DAVICOM 0x1282 |
#define | PCI_DEVICE_ID_DM9009 0x9009 |
#define | PCI_DEVICE_ID_DM9102 0x9102 |
#define | PCI_VENDOR_ID_SIS 0x1039 |
#define | PCI_DEVICE_ID_SIS900 0x0900 |
#define | PCI_DEVICE_ID_SIS7016 0x7016 |
#define | PCI_VENDOR_ID_DLINK 0x1186 |
#define | PCI_DEVICE_ID_DFE530TXP 0x1300 |
#define | PCI_VENDOR_ID_NS 0x100B |
#define | PCI_DEVICE_ID_DP83815 0x0020 |
#define | PCI_VENDOR_ID_OLICOM 0x108d |
#define | PCI_DEVICE_ID_OLICOM_OC3136 0x0001 |
#define | PCI_DEVICE_ID_OLICOM_OC2315 0x0011 |
#define | PCI_DEVICE_ID_OLICOM_OC2325 0x0012 |
#define | PCI_DEVICE_ID_OLICOM_OC2183 0x0013 |
#define | PCI_DEVICE_ID_OLICOM_OC2326 0x0014 |
#define | PCI_DEVICE_ID_OLICOM_OC6151 0x0021 |
#define | RELOC 0 |
#define | BACKOFF_LIMIT 7 |
#define | CTRL_C 3 |
#define | MAX_TFTP_RETRIES 20 |
#define | MAX_BOOTP_RETRIES 20 |
#define | MAX_BOOTP_EXTLEN |
#define | MAX_ARP_RETRIES 20 |
#define | MAX_RPC_RETRIES 20 |
#define | TICKS_PER_SEC 18 |
#define | TIMEOUT (10 * TICKS_PER_SEC) |
#define | TFTP_TIMEOUT (30 * TICKS_PER_SEC) |
#define | TFTP_REXMT (3 * TICKS_PER_SEC) |
#define | NULL ((void *) 0) |
#define | ETH_ALEN 6 |
#define | ETH_HLEN 14 |
#define | ETH_ZLEN 60 |
#define | ETH_FRAME_LEN 1514 |
#define | ETH_MAX_MTU |
#define | ARP_CLIENT 0 |
#define | ARP_SERVER 1 |
#define | ARP_GATEWAY 2 |
#define | ARP_ROOTSERVER 3 |
#define | ARP_SWAPSERVER 4 |
#define | MAX_ARP ARP_SWAPSERVER+1 |
#define | RARP_REQUEST 3 |
#define | RARP_REPLY 4 |
#define | IP 0x0800 |
#define | ARP 0x0806 |
#define | RARP 0x8035 |
#define | BOOTP_SERVER 67 |
#define | BOOTP_CLIENT 68 |
#define | TFTP_PORT 69 |
#define | SUNRPC_PORT 111 |
#define | IP_UDP 17 |
#define | IP_BROADCAST 0xFFFFFFFF |
#define | ARP_REQUEST 1 |
#define | ARP_REPLY 2 |
#define | BOOTP_REQUEST 1 |
#define | BOOTP_REPLY 2 |
#define | TAG_LEN(p) (*((p) + 1)) |
#define | RFC1533_COOKIE 99, 130, 83, 99 |
#define | RFC1533_PAD 0 |
#define | RFC1533_NETMASK 1 |
#define | RFC1533_TIMEOFFSET 2 |
#define | RFC1533_GATEWAY 3 |
#define | RFC1533_TIMESERVER 4 |
#define | RFC1533_IEN116NS 5 |
#define | RFC1533_DNS 6 |
#define | RFC1533_LOGSERVER 7 |
#define | RFC1533_COOKIESERVER 8 |
#define | RFC1533_LPRSERVER 9 |
#define | RFC1533_IMPRESSSERVER 10 |
#define | RFC1533_RESOURCESERVER 11 |
#define | RFC1533_HOSTNAME 12 |
#define | RFC1533_BOOTFILESIZE 13 |
#define | RFC1533_MERITDUMPFILE 14 |
#define | RFC1533_DOMAINNAME 15 |
#define | RFC1533_SWAPSERVER 16 |
#define | RFC1533_ROOTPATH 17 |
#define | RFC1533_EXTENSIONPATH 18 |
#define | RFC1533_IPFORWARDING 19 |
#define | RFC1533_IPSOURCEROUTING 20 |
#define | RFC1533_IPPOLICYFILTER 21 |
#define | RFC1533_IPMAXREASSEMBLY 22 |
#define | RFC1533_IPTTL 23 |
#define | RFC1533_IPMTU 24 |
#define | RFC1533_IPMTUPLATEAU 25 |
#define | RFC1533_INTMTU 26 |
#define | RFC1533_INTLOCALSUBNETS 27 |
#define | RFC1533_INTBROADCAST 28 |
#define | RFC1533_INTICMPDISCOVER 29 |
#define | RFC1533_INTICMPRESPOND 30 |
#define | RFC1533_INTROUTEDISCOVER 31 |
#define | RFC1533_INTROUTESOLICIT 32 |
#define | RFC1533_INTSTATICROUTES 33 |
#define | RFC1533_LLTRAILERENCAP 34 |
#define | RFC1533_LLARPCACHETMO 35 |
#define | RFC1533_LLETHERNETENCAP 36 |
#define | RFC1533_TCPTTL 37 |
#define | RFC1533_TCPKEEPALIVETMO 38 |
#define | RFC1533_TCPKEEPALIVEGB 39 |
#define | RFC1533_NISDOMAIN 40 |
#define | RFC1533_NISSERVER 41 |
#define | RFC1533_NTPSERVER 42 |
#define | RFC1533_VENDOR 43 |
#define | RFC1533_NBNS 44 |
#define | RFC1533_NBDD 45 |
#define | RFC1533_NBNT 46 |
#define | RFC1533_NBSCOPE 47 |
#define | RFC1533_XFS 48 |
#define | RFC1533_XDM 49 |
#define | RFC2132_REQ_ADDR 50 |
#define | RFC2132_MSG_TYPE 53 |
#define | RFC2132_SRV_ID 54 |
#define | RFC2132_PARAM_LIST 55 |
#define | RFC2132_MAX_SIZE 57 |
#define | RFC2132_VENDOR_CLASS_ID 60 |
#define | DHCPDISCOVER 1 |
#define | DHCPOFFER 2 |
#define | DHCPREQUEST 3 |
#define | DHCPACK 5 |
#define | RFC1533_VENDOR_MAJOR 0 |
#define | RFC1533_VENDOR_MINOR 0 |
#define | RFC1533_VENDOR_MAGIC 128 |
#define | RFC1533_VENDOR_ADDPARM 129 |
#define | RFC1533_VENDOR_MNUOPTS 160 |
#define | RFC1533_VENDOR_SELECTION 176 |
#define | RFC1533_VENDOR_MOTD 184 |
#define | RFC1533_VENDOR_NUMOFMOTD 8 |
#define | RFC1533_VENDOR_IMG 192 |
#define | RFC1533_VENDOR_NUMOFIMG 16 |
#define | RFC1533_VENDOR_CONFIGFILE 150 |
#define | RFC1533_END 255 |
#define | BOOTP_VENDOR_LEN 64 |
#define | DHCP_OPT_LEN 312 |
#define | TFTP_DEFAULTSIZE_PACKET 512 |
#define | TFTP_MAX_PACKET 1432 |
#define | TFTP_RRQ 1 |
#define | TFTP_WRQ 2 |
#define | TFTP_DATA 3 |
#define | TFTP_ACK 4 |
#define | TFTP_ERROR 5 |
#define | TFTP_OACK 6 |
#define | TFTP_CODE_EOF 1 |
#define | TFTP_CODE_MORE 2 |
#define | TFTP_CODE_ERROR 3 |
#define | TFTP_CODE_BOOT 4 |
#define | TFTP_CODE_CFG 5 |
#define | AWAIT_ARP 0 |
#define | AWAIT_BOOTP 1 |
#define | AWAIT_TFTP 2 |
#define | AWAIT_RARP 3 |
#define | AWAIT_RPC 4 |
#define | AWAIT_QDRAIN 5 |
#define | TFTP_MIN_PACKET (sizeof(struct iphdr) + sizeof(struct udphdr) + 4) |
#define | PROG_PORTMAP 100000 |
#define | PROG_NFS 100003 |
#define | PROG_MOUNT 100005 |
#define | MSG_CALL 0 |
#define | MSG_REPLY 1 |
#define | PORTMAP_GETPORT 3 |
#define | MOUNT_ADDENTRY 1 |
#define | MOUNT_UMOUNTALL 4 |
#define | NFS_LOOKUP 4 |
#define | NFS_READ 6 |
#define | NFS_FHSIZE 32 |
#define | NFSERR_PERM 1 |
#define | NFSERR_NOENT 2 |
#define | NFSERR_ACCES 13 |
#define | NFS_READ_SIZE 1024 |
#define | FLOPPY_BOOT_LOCATION 0x7c00 |
#define | ROM_SEGMENT 0x1fa |
#define | ROM_LENGTH 0x1fc |
#define | ROM_INFO_LOCATION (FLOPPY_BOOT_LOCATION + ROM_SEGMENT) |
#define | BOOTP_DATA_ADDR (&bootp_data) |
#define | printf etherboot_printf |
#define | sprintf etherboot_sprintf |
#define | PCI_ARG(x) ,x |
#define | TIMER2_PORT 0x42 |
#define | TIMER_MODE_PORT 0x43 |
#define | TIMER0_SEL 0x00 |
#define | TIMER1_SEL 0x40 |
#define | TIMER2_SEL 0x80 |
#define | READBACK_SEL 0xC0 |
#define | LATCH_COUNT 0x00 |
#define | LOBYTE_ACCESS 0x10 |
#define | HIBYTE_ACCESS 0x20 |
#define | WORD_ACCESS 0x30 |
#define | MODE0 0x00 |
#define | MODE1 0x02 |
#define | MODE2 0x04 |
#define | MODE3 0x06 |
#define | MODE4 0x08 |
#define | MODE5 0x0A |
#define | BINARY_COUNT 0x00 |
#define | BCD_COUNT 0x01 |
#define | TICKS_PER_MS 1193 |
#define | PPC_PORTB 0x61 |
#define | PPCB_T2OUT 0x20 |
#define | PPCB_SPKR 0x02 |
#define | PPCB_T2GATE 0x01 |
#define | __LITTLE_ENDIAN |
#define | __constant_htonl(x) |
#define | __constant_htons(x) |
#define | ntohl(x) |
#define | htonl(x) |
#define | ntohs(x) |
#define | htons(x) |
#define | swap32(x) __swap32(x) |
#define | swap16(x) __swap16(x) |
#define | P(x) () |
Definicje typów | |
typedef unsigned long | Address |
Funkcje | |
void | eth_pci_init (struct pci_device *) |
int | pcibios_read_config_byte (unsigned int bus, unsigned int device_fn, unsigned int where, unsigned char *value) |
int | pcibios_write_config_byte (unsigned int bus, unsigned int device_fn, unsigned int where, unsigned char value) |
int | pcibios_read_config_word (unsigned int bus, unsigned int device_fn, unsigned int where, unsigned short *value) |
int | pcibios_write_config_word (unsigned int bus, unsigned int device_fn, unsigned int where, unsigned short value) |
int | pcibios_read_config_dword (unsigned int bus, unsigned int device_fn, unsigned int where, unsigned int *value) |
int | pcibios_write_config_dword (unsigned int bus, unsigned int device_fn, unsigned int where, unsigned int value) |
void | adjust_pci_device (struct pci_device *p) |
void | print_network_configuration (void) |
int | ifconfig (char *ip, char *sm, char *gw, char *svr) |
int | udp_transmit (unsigned long destip, unsigned int srcsock, unsigned int destsock, int len, const void *buf) |
int | await_reply (int type, int ival, void *ptr, int timeout) |
int | decode_rfc1533 (unsigned char *, int, int, int) |
long | rfc2131_sleep_interval (int base, int exp) |
void | cleanup (void) |
int | rarp (void) |
int | bootp (void) |
void | cleanup_net (void) |
void | print_config (void) |
void | eth_reset (void) |
int | eth_probe (void) |
int | eth_poll (void) |
void | eth_transmit (const char *d, unsigned int t, unsigned int s, const void *p) |
void | eth_disable (void) |
void | twiddle (void) |
void | sleep (int secs) |
int | getdec (char **s) |
void | etherboot_printf (const char *,...) |
int | etherboot_sprintf (char *, const char *,...) |
int | inet_aton (char *p, in_addr *i) |
void | load_timer2 (unsigned int ticks) |
int | timer2_running (void) |
void | waiton_timer2 (unsigned int ticks) |
Zmienne | |
int | ip_abort |
int | network_ready |
struct rom_info | rom |
struct arptable_t | arptable [MAX_ARP] |
struct bootpd_t | bootp_data |
unsigned char * | end_of_rfc1533 |
struct nic | nic |
#define __constant_htonl | ( | x | ) |
#define __constant_htons | ( | x | ) |
#define BIOS32_SIGNATURE (('_' << 0) + ('3' << 8) + ('2' << 16) + ('_' << 24)) |
#define BOOTP_DATA_ADDR (&bootp_data) |
#define cli | ( | ) | __asm__ __volatile__ ("cli": : :"memory") |
Definicja w linii 94 pliku sbox.hpp.
Odwołania w pcibios_write_config_byte(), pcibios_write_config_dword() i pcibios_write_config_word().
#define ETH_MAX_MTU |
#define htonl | ( | x | ) |
#define htons | ( | x | ) |
Wartość:
(__builtin_constant_p(x) ? \ __constant_htons((x)) : \ __swap16(x))
Definicja w linii 1067 pliku sbox.hpp.
Odwołania w a3c90x_probe(), e3c556_probe(), e3c556_transmit() i Net::IP::ip_transmit().
#define MAX_BOOTP_EXTLEN |
Wartość:
(ETH_FRAME_LEN - ETH_HLEN - \ sizeof (struct bootp_t))
#define ntohl | ( | x | ) |
#define ntohs | ( | x | ) |
#define PCI_SERVICE (('$' << 0) + ('P' << 8) + ('C' << 16) + ('I' << 24)) |
#define PCI_SIGNATURE (('P' << 0) + ('C' << 8) + ('I' << 16) + (' ' << 24)) |
#define PCIBIOS_READ_CONFIG_BYTE 0xb108 |
#define PCIBIOS_READ_CONFIG_DWORD 0xb10a |
#define PCIBIOS_READ_CONFIG_WORD 0xb109 |
#define PCIBIOS_WRITE_CONFIG_BYTE 0xb10b |
#define PCIBIOS_WRITE_CONFIG_DWORD 0xb10d |
#define PCIBIOS_WRITE_CONFIG_WORD 0xb10c |
#define PPC_PORTB 0x61 |
#define PPCB_T2OUT 0x20 |
#define printf etherboot_printf |
Definicja w linii 736 pliku sbox.hpp.
Odwołania w a3c90x_probe(), adjust_pci_device() i eth_pci_init().
#define restore_flags | ( | x | ) | __asm__ __volatile__("pushl %0 ; popfl": /* no output */ :"g" (x):"memory") |
Definicja w linii 96 pliku sbox.hpp.
Odwołania w pcibios_read_config_byte(), pcibios_read_config_dword(), pcibios_read_config_word(), pcibios_write_config_byte(), pcibios_write_config_dword() i pcibios_write_config_word().
#define ROM_INFO_LOCATION (FLOPPY_BOOT_LOCATION + ROM_SEGMENT) |
#define save_flags | ( | x | ) | __asm__ __volatile__("pushfl ; popl %0":"=g" (x): /* no input */ :"memory") |
Definicja w linii 91 pliku sbox.hpp.
Odwołania w pcibios_read_config_byte(), pcibios_read_config_dword(), pcibios_read_config_word(), pcibios_write_config_byte(), pcibios_write_config_dword() i pcibios_write_config_word().
void adjust_pci_device | ( | struct pci_device * | p | ) |
Definicja w linii 1413 pliku sbox.cpp.
Odwołuje się do pci_device::bus, pci_device::devfn, PCI_COMMAND, PCI_COMMAND_IO, PCI_COMMAND_MASTER, PCI_LATENCY_TIMER, pcibios_read_config_byte(), pcibios_read_config_word(), pcibios_write_config_byte(), pcibios_write_config_word() i printf.
Odwołania w a3c90x_probe().
int await_reply | ( | int | type, | |
int | ival, | |||
void * | ptr, | |||
int | timeout | |||
) |
int bootp | ( | void | ) |
void cleanup | ( | void | ) |
void cleanup_net | ( | void | ) |
int decode_rfc1533 | ( | unsigned char * | , | |
int | , | |||
int | , | |||
int | ||||
) |
void eth_disable | ( | void | ) |
void eth_pci_init | ( | struct pci_device * | ) |
int eth_poll | ( | void | ) |
int eth_probe | ( | void | ) |
void eth_reset | ( | void | ) |
void eth_transmit | ( | const char * | d, | |
unsigned int | t, | |||
unsigned int | s, | |||
const void * | p | |||
) |
Odwołania w Net::IP::ip_transmit().
void etherboot_printf | ( | const char * | , | |
... | ||||
) |
int etherboot_sprintf | ( | char * | , | |
const char * | , | |||
... | ||||
) |
int getdec | ( | char ** | s | ) |
int ifconfig | ( | char * | ip, | |
char * | sm, | |||
char * | gw, | |||
char * | svr | |||
) |
int inet_aton | ( | char * | p, | |
in_addr * | i | |||
) |
void load_timer2 | ( | unsigned int | ticks | ) |
Odwołania w waiton_timer2().
int pcibios_read_config_byte | ( | unsigned int | bus, | |
unsigned int | device_fn, | |||
unsigned int | where, | |||
unsigned char * | value | |||
) |
Definicja w linii 1064 pliku sbox.cpp.
Odwołuje się do PCIBIOS_READ_CONFIG_BYTE, restore_flags i save_flags.
Odwołania w adjust_pci_device().
int pcibios_read_config_dword | ( | unsigned int | bus, | |
unsigned int | device_fn, | |||
unsigned int | where, | |||
unsigned int * | value | |||
) |
Definicja w linii 1118 pliku sbox.cpp.
Odwołuje się do PCIBIOS_READ_CONFIG_DWORD, restore_flags i save_flags.
int pcibios_read_config_word | ( | unsigned int | bus, | |
unsigned int | device_fn, | |||
unsigned int | where, | |||
unsigned short * | value | |||
) |
Definicja w linii 1091 pliku sbox.cpp.
Odwołuje się do PCIBIOS_READ_CONFIG_WORD, restore_flags i save_flags.
Odwołania w adjust_pci_device().
int pcibios_write_config_byte | ( | unsigned int | bus, | |
unsigned int | device_fn, | |||
unsigned int | where, | |||
unsigned char | value | |||
) |
Definicja w linii 1145 pliku sbox.cpp.
Odwołuje się do cli, PCIBIOS_WRITE_CONFIG_BYTE, restore_flags i save_flags.
Odwołania w adjust_pci_device().
int pcibios_write_config_dword | ( | unsigned int | bus, | |
unsigned int | device_fn, | |||
unsigned int | where, | |||
unsigned int | value | |||
) |
Definicja w linii 1199 pliku sbox.cpp.
Odwołuje się do cli, PCIBIOS_WRITE_CONFIG_DWORD, restore_flags i save_flags.
int pcibios_write_config_word | ( | unsigned int | bus, | |
unsigned int | device_fn, | |||
unsigned int | where, | |||
unsigned short | value | |||
) |
Definicja w linii 1172 pliku sbox.cpp.
Odwołuje się do cli, PCIBIOS_WRITE_CONFIG_WORD, restore_flags i save_flags.
Odwołania w adjust_pci_device().
void print_config | ( | void | ) |
void print_network_configuration | ( | void | ) |
int rarp | ( | void | ) |
long rfc2131_sleep_interval | ( | int | base, | |
int | exp | |||
) |
void sleep | ( | int | secs | ) |
int timer2_running | ( | void | ) | [inline] |
void twiddle | ( | void | ) |
int udp_transmit | ( | unsigned long | destip, | |
unsigned int | srcsock, | |||
unsigned int | destsock, | |||
int | len, | |||
const void * | buf | |||
) |
void waiton_timer2 | ( | unsigned int | ticks | ) | [inline] |
Definicja w linii 1010 pliku sbox.hpp.
Odwołuje się do IOPorts::inb(), load_timer2(), PPC_PORTB i PPCB_T2OUT.
struct arptable_t arptable[MAX_ARP] |
struct bootpd_t bootp_data |
unsigned char* end_of_rfc1533 |
int ip_abort |
int network_ready |