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

« back to all changes in this revision

Viewing changes to grub-core/net/drivers/i386/pc/pxe.c

  • 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:
45
45
  grub_uint16_t pkt_filter;
46
46
  grub_uint16_t mcast_count;
47
47
  grub_uint8_t mcast[8][6];
48
 
} __attribute__ ((packed));
 
48
} GRUB_PACKED;
49
49
 
50
50
struct grub_pxe_undi_info
51
51
{
60
60
  grub_uint32_t romaddr;
61
61
  grub_uint16_t rxbufct;
62
62
  grub_uint16_t txbufct;
63
 
} __attribute__ ((packed));
 
63
} GRUB_PACKED;
64
64
 
65
65
 
66
66
struct grub_pxe_undi_isr
73
73
  grub_uint32_t buffer;
74
74
  grub_uint8_t prot_type;
75
75
  grub_uint8_t pkt_type;
76
 
} __attribute__ ((packed));
 
76
} GRUB_PACKED;
77
77
 
78
78
enum
79
79
  {
104
104
  grub_uint32_t dest;
105
105
  grub_uint32_t tbd;
106
106
  grub_uint32_t reserved[2];
107
 
} __attribute__ ((packed));
 
107
} GRUB_PACKED;
108
108
 
109
109
struct grub_pxe_undi_tbd
110
110
{
118
118
    grub_uint16_t len;
119
119
    grub_uint32_t ptr;
120
120
  } blocks[8];
121
 
} __attribute__ ((packed));
 
121
} GRUB_PACKED;
122
122
 
123
123
struct grub_pxe_bangpxe *grub_pxe_pxenv;
124
124
static grub_uint32_t pxe_rm_entry = 0;