Changeset View
Changeset View
Standalone View
Standalone View
stand/uboot/libuboot.h
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | |||||
#define PKTALIGN 128 | #define PKTALIGN 128 | ||||
#elif defined(__arm__) | #elif defined(__arm__) | ||||
#define PKTALIGN 64 | #define PKTALIGN 64 | ||||
#else | #else | ||||
#define PKTALIGN 32 | #define PKTALIGN 32 | ||||
#endif | #endif | ||||
int uboot_getdev(void **vdev, const char *devspec, const char **path); | int uboot_getdev(void **vdev, const char *devspec, const char **path); | ||||
char *uboot_fmtdev(void *vdev); | |||||
int uboot_setcurrdev(struct env_var *ev, int flags, const void *value); | int uboot_setcurrdev(struct env_var *ev, int flags, const void *value); | ||||
extern int devs_no; | extern int devs_no; | ||||
extern struct netif_driver uboot_net; | extern struct netif_driver uboot_net; | ||||
extern struct devsw uboot_storage; | extern struct devsw uboot_storage; | ||||
extern uintptr_t uboot_heap_start; | extern uintptr_t uboot_heap_start; | ||||
extern uintptr_t uboot_heap_end; | extern uintptr_t uboot_heap_end; | ||||
Show All 16 Lines |