~ubuntu-branches/ubuntu/trusty/grub2/trusty

« back to all changes in this revision

Viewing changes to debian/grub-extras/disabled/gpxe/src/include/gpxe/ramdisk.h

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2014-01-16 15:18:04 UTC
  • mfrom: (17.6.38 experimental)
  • Revision ID: package-import@ubuntu.com-20140116151804-3foouk7fpqcq3sxx
Tags: 2.02~beta2-2
* Convert patch handling to git-dpm.
* Add bi-endian support to ELF parser (Tomohiro B Berry).
* Adjust restore_mkdevicemap.patch to mark get_kfreebsd_version as static,
  to appease "gcc -Werror=missing-prototypes".
* Cherry-pick from upstream:
  - Change grub-macbless' manual page section to 8.
* Install grub-glue-efi, grub-macbless, grub-render-label, and
  grub-syslinux2cfg.
* grub-shell: Pass -no-pad to xorriso when building floppy images.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _GPXE_RAMDISK_H
 
2
#define _GPXE_RAMDISK_H
 
3
 
 
4
/**
 
5
 * @file
 
6
 *
 
7
 * RAM disks
 
8
 *
 
9
 */
 
10
 
 
11
FILE_LICENCE ( GPL2_OR_LATER );
 
12
 
 
13
#include <gpxe/uaccess.h>
 
14
#include <gpxe/blockdev.h>
 
15
 
 
16
struct ramdisk {
 
17
        struct block_device blockdev;
 
18
        userptr_t data;
 
19
};
 
20
 
 
21
extern int init_ramdisk ( struct ramdisk *ramdisk, userptr_t data, size_t len,
 
22
                          unsigned int blksize );
 
23
 
 
24
#endif /* _GPXE_RAMDISK_H */