/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/ |
H A D | image.h | 21 /** An executable image */ 22 struct image { struct 29 /** URI of image */ 36 /** Command line to pass to image */ 38 /** Raw file image */ 40 /** Length of raw file image */ 46 /** Replacement image 48 * An image wishing to replace itself with another image (in a 50 * exec() method with the replacement image se [all...] |
H A D | downloader.h | 13 struct image; 15 extern int create_downloader ( struct interface *job, struct image *image,
|
H A D | elf.h | 7 * ELF image format 15 extern int elf_load ( struct image *image, physaddr_t *entry, physaddr_t *max );
|
H A D | script.h | 12 #include <ipxe/image.h>
|
/vbox/src/VBox/Devices/PC/ipxe/src/include/usr/ |
H A D | imgmgmt.h | 12 #include <ipxe/image.h> 14 extern int imgdownload ( struct uri *uri, struct image **image ); 15 extern int imgdownload_string ( const char *uri_string, struct image **image ); 16 extern int imgacquire ( const char *name, struct image **image ); 17 extern void imgstat ( struct image *image );
|
H A D | imgtrust.h | 12 #include <ipxe/image.h> 14 extern int imgverify ( struct image *image, struct image *signature,
|
/vbox/src/VBox/Devices/PC/ipxe/src/core/ |
H A D | image.c | 32 #include <ipxe/image.h> 44 __einfo_uniqify ( EINFO_EACCES, 0x01, "Untrusted image" ) 53 /** Currently-executing image */ 54 struct image *current_image; 56 /** Current image trust requirement */ 59 /** Prevent changes to image trust requirement */ 63 * Free executable image 68 struct image *image = container_of ( refcnt, struct image, refcn local 87 struct image *image; local 121 image_set_name( struct image *image, const char *name ) argument 143 image_set_cmdline( struct image *image, const char *cmdline ) argument 210 struct image *image; local 351 struct image *image = current_image; local 410 struct image *image; local [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/usr/ |
H A D | imgmgmt.c | 25 #include <ipxe/image.h> 39 * Download a new image 42 * @v image Image to fill in 45 int imgdownload ( struct uri *uri, struct image **image ) { 51 /* Allocate image */ 52 *image = alloc_image ( uri ); 53 if ( ! *image ) { 67 if ( ( rc = create_downloader ( &monojob, *image, LOCATION_URI, 77 /* Register image */ [all...] |
H A D | imgtrust.c | 26 #include <ipxe/image.h> 37 * Verify image using downloaded signature 39 * @v image Image to verify 44 int imgverify ( struct image *image, struct image *signature, argument 52 /* Mark image as untrusted */ 53 image_untrust ( image ); 72 /* Use signature to verify image */ 74 if ( ( rc = cms_verify ( sig, image [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/image/ |
H A D | comboot.c | 22 * SYSLINUX COMBOOT (16-bit) image format 38 #include <ipxe/image.h> 49 /** INT 20 instruction, executed if COMBOOT image returns with RET */ 66 * @v image COMBOOT image 68 static void comboot_copy_cmdline ( struct image * image, userptr_t seg_userptr ) { argument 69 const char *cmdline = ( image->cmdline ? image->cmdline : "" ); 99 * @v image COMBOO 102 comboot_init_psp( struct image * image, userptr_t seg_userptr ) argument [all...] |
H A D | nbi.c | 11 #include <ipxe/image.h> 16 * NBI image format. 32 * An NBI image header 97 /** Info passed to NBI image */ 104 * Prepare a segment for an NBI image 106 * @v image NBI image 107 * @v offset Offset within NBI image 113 static int nbi_prepare_segment ( struct image *image, size_ argument 136 nbi_load_segment( struct image *image, size_t offset, userptr_t dest, size_t filesz, size_t memsz __unused ) argument 151 nbi_process_segments( struct image *image, struct imgheader *imgheader, int ( * process ) ( struct image *image, size_t offset, userptr_t dest, size_t filesz, size_t memsz ) ) argument 247 nbi_boot16( struct image *image, struct imgheader *imgheader ) argument 285 nbi_boot32( struct image *image, struct imgheader *imgheader ) argument [all...] |
H A D | pxe_image.c | 24 * PXE image format 31 #include <ipxe/image.h> 39 * Execute PXE image 41 * @v image PXE image 44 static int pxe_exec ( struct image *image ) { 50 if ( ( rc = prep_segment ( buffer, image->len, image->len ) ) != 0 ) { 51 DBGC ( image, "IMAG [all...] |
H A D | elfboot.c | 23 #include <ipxe/image.h> 31 * ELF bootable image 38 * Execute ELF image 40 * @v image ELF image 43 static int elfboot_exec ( struct image *image ) { 48 /* Load the image using core ELF support */ 49 if ( ( rc = elf_load ( image, &entry, &max ) ) != 0 ) { 50 DBGC ( image, "EL [all...] |
H A D | com32.c | 22 * SYSLINUX COM32 image format 38 #include <ipxe/image.h> 51 * Execute COMBOOT image 53 * @v image COM32 image 56 static int com32_exec_loop ( struct image *image ) { 70 /* Find end of block covering COM32 image loading area */ 73 (memmap.regions[i].end > COM32_START_PHYS + image->len) ) { 79 DBGC ( image, "COM3 [all...] |
H A D | multiboot.c | 24 * Multiboot image format 34 #include <ipxe/image.h> 88 /** Offset of header within the multiboot image */ 102 * @v image Multiboot image 107 static void multiboot_build_memmap ( struct image *image, argument 121 DBGC ( image, "MULTIBOOT %p limit of %d memmap " 122 "entries reached\n", image, limit ); 143 * @v image Imag 185 multiboot_add_modules( struct image *image, physaddr_t start, struct multiboot_info *mbinfo, struct multiboot_module *modules, unsigned int limit ) argument 268 multiboot_find_header( struct image *image, struct multiboot_header_info *hdr ) argument 317 multiboot_load_raw( struct image *image, struct multiboot_header_info *hdr, physaddr_t *entry, physaddr_t *max ) argument 365 multiboot_load_elf( struct image *image, physaddr_t *entry, physaddr_t *max ) argument [all...] |
H A D | bzimage.c | 24 * Linux bzImage image format 36 #include <ipxe/image.h> 86 * @v image bzImage file 91 static int bzimage_parse_header ( struct image *image, argument 98 if ( image->len < ( BZI_HDR_OFFSET + sizeof ( bzimg->bzhdr ) ) ) { 99 DBGC ( image, "bzImage %p too short for kernel header\n", 100 image ); 114 if ( bzimg->rm_filesz > image->len ) { 115 DBGC ( image, "bzImag 196 bzimage_update_header( struct image *image, struct bzimage_context *bzimg, userptr_t dst ) argument 246 bzimage_parse_cmdline( struct image *image, struct bzimage_context *bzimg, const char *cmdline ) argument 307 bzimage_set_cmdline( struct image *image, struct bzimage_context *bzimg, const char *cmdline ) argument 331 bzimage_load_initrd( struct image *image, struct image *initrd, userptr_t address ) argument 389 bzimage_load_initrds( struct image *image, struct bzimage_context *bzimg ) argument [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/image/ |
H A D | embedded.c | 3 * Embedded image support 12 #include <ipxe/image.h> 16 /* Raw image data for all embedded images */ 39 static struct image embedded_images[] = { 48 struct image *image; local 59 image = &embedded_images[i]; 66 data = ( ( void * ) image->data ); 67 image->data = virt_to_user ( data ); 69 DBG ( "Embedded image \" [all...] |
H A D | efi_image.c | 24 #include <ipxe/image.h> 31 /** EFI loaded image protocol GUID */ 36 * Create a Unicode command line for the image 38 * @v image EFI image 39 * @v devpath_out Device path to pass to image (output) 44 static int efi_image_make_cmdline ( struct image *image, argument 58 /* Get the URI string of the image */ 59 uri_len = unparse_uri ( NULL, 0, image 120 EFI_LOADED_IMAGE_PROTOCOL *image; member in union:__anon15471 [all...] |
H A D | elf.c | 24 * ELF image format 26 * A "pure" ELF image is not a bootable image. There are various 35 #include <ipxe/image.h> 46 * @v image ELF file 53 static int elf_load_segment ( struct image *image, Elf_Phdr *phdr, argument 66 /* Check segment lies within image */ 67 if ( ( phdr->p_offset + phdr->p_filesz ) > image->len ) { 68 DBGC ( image, "EL 133 elf_load( struct image *image, physaddr_t *entry, physaddr_t *max ) argument [all...] |
H A D | script.c | 36 #include <ipxe/image.h> 51 * @v image Script 56 static int process_script ( struct image *image, argument 69 eol = memchr_user ( image->data, script_offset, '\n', 70 ( image->len - script_offset ) ); 72 eol = image->len; 81 copy_from_user ( line, image->data, script_offset, len ); 93 } while ( script_offset < image->len ); 133 * @v image Scrip [all...] |
/vbox/src/VBox/Additions/x11/x11include/pixman-0.16.0/ |
H A D | utils.h | 6 void show_image (pixman_image_t *image);
|
/vbox/src/VBox/VMM/testcase/ |
H A D | mkdsk.sh | 19 echo "Simples qemu boot image is archived by only specifying an statically" 21 echo "The boot linux in qemu specifying the image as -hda. Use the -kernel" 22 echo "option to specify a bzImage kernel image to use, and specify" 32 image=$1 40 echo "* Creating $image of $size kb...." 41 rm -f $image 42 dd if=/dev/zero of=$image count=$size bs=1024 || exit 1 45 /sbin/mkfs.ext2 $image || exit 1 49 sudo mount $image ./tmpmnt -t ext2 -o loop=/dev/loop7 || exit 1
|
/vbox/src/VBox/Devices/PC/ipxe/src/util/ |
H A D | parserom.pl | 21 ( my $type, my $image, my $desc, my $vendor, my $device, my $dup ) = @_; 32 print "# NIC\t$image\t$ids\t$desc\n"; 33 print "DRIVER_$image = $driver_name\n"; 34 print "ROM_TYPE_$image = $type\n"; 35 print "ROM_DESCRIPTION_$image = \"$desc\"\n"; 36 print "PCI_VENDOR_$image = 0x$vendor\n" if $vendor; 37 print "PCI_DEVICE_$image = 0x$device\n" if $device; 38 print "ROMS += $image\n" unless $dup; 39 print "ROMS_$driver_name += $image\n" unless $dup; 52 ( my $vendor, my $device, my $image, m [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/core/ |
H A D | runtime.c | 34 #include <ipxe/image.h> 63 /** Free command line image */ 65 struct image *image = container_of ( refcnt, struct image, refcnt ); local 67 DBGC ( image, "RUNTIME freeing command line\n" ); 72 static struct image cmdline_image = { 149 /* Prepare and register image */ 160 /* Drop our reference to the image */ 177 struct image *imag local [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/hci/commands/ |
H A D | image_cmd.c | 26 #include <ipxe/image.h> 53 "[--name <name>] <uri|image> [<arguments>...]" ); 59 /** Function to use to acquire the image */ 60 int ( * acquire ) ( const char *name, struct image **image ); 61 /** Pre-action to take upon image, or NULL */ 62 void ( * preaction ) ( struct image *image ); 63 /** Action to take upon image, or NULL */ 64 int ( * action ) ( struct image *imag 84 struct image *image; local 266 struct image *image; local [all...] |