Changeset View
Changeset View
Standalone View
Standalone View
sys/boot/i386/libi386/pxe.c
Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | |||||
void pxe_enable(void *pxeinfo); | void pxe_enable(void *pxeinfo); | ||||
static void (*pxe_call)(int func); | static void (*pxe_call)(int func); | ||||
static void pxenv_call(int func); | static void pxenv_call(int func); | ||||
static void bangpxe_call(int func); | static void bangpxe_call(int func); | ||||
static int pxe_init(void); | static int pxe_init(void); | ||||
static int pxe_strategy(void *devdata, int flag, daddr_t dblk, | static int pxe_strategy(void *devdata, int flag, daddr_t dblk, | ||||
size_t size, char *buf, size_t *rsize); | size_t offset, size_t size, char *buf, size_t *rsize); | ||||
static int pxe_open(struct open_file *f, ...); | static int pxe_open(struct open_file *f, ...); | ||||
static int pxe_close(struct open_file *f); | static int pxe_close(struct open_file *f); | ||||
static void pxe_print(int verbose); | static void pxe_print(int verbose); | ||||
static void pxe_cleanup(void); | static void pxe_cleanup(void); | ||||
static void pxe_setnfshandle(char *rootpath); | static void pxe_setnfshandle(char *rootpath); | ||||
static void pxe_perror(int error); | static void pxe_perror(int error); | ||||
static int pxe_netif_match(struct netif *nif, void *machdep_hint); | static int pxe_netif_match(struct netif *nif, void *machdep_hint); | ||||
▲ Show 20 Lines • Show All 158 Lines • ▼ Show 20 Lines | pxe_init(void) | ||||
} | } | ||||
bcopy(PTOV((gci_p->Buffer.segment << 4) + gci_p->Buffer.offset), | bcopy(PTOV((gci_p->Buffer.segment << 4) + gci_p->Buffer.offset), | ||||
&bootplayer, gci_p->BufferSize); | &bootplayer, gci_p->BufferSize); | ||||
return (1); | return (1); | ||||
} | } | ||||
static int | static int | ||||
pxe_strategy(void *devdata, int flag, daddr_t dblk, size_t size, | pxe_strategy(void *devdata, int flag, daddr_t dblk, size_t offset, size_t size, | ||||
char *buf, size_t *rsize) | char *buf, size_t *rsize) | ||||
{ | { | ||||
return (EIO); | return (EIO); | ||||
} | } | ||||
static int | static int | ||||
pxe_open(struct open_file *f, ...) | pxe_open(struct open_file *f, ...) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 451 Lines • Show Last 20 Lines |