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

« back to all changes in this revision

Viewing changes to include/grub/i386/pc/pxe.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:
185
185
  grub_uint16_t undi_code_seg;  /* UNDI Code segment address.  */
186
186
  grub_uint16_t undi_code_size; /* UNDI Code segment size (bytes).  */
187
187
  grub_uint32_t pxe_ptr;        /* SEG:OFF to !PXE struct.  */
188
 
} __attribute__ ((packed));
 
188
} GRUB_PACKED;
189
189
 
190
190
struct grub_pxe_bangpxe
191
191
{
198
198
  grub_uint32_t undiromid;
199
199
  grub_uint32_t baseromid;
200
200
  grub_uint32_t rm_entry;
201
 
} __attribute__ ((packed));
 
201
} GRUB_PACKED;
202
202
 
203
203
struct grub_pxenv_get_cached_info
204
204
{
207
207
  grub_uint16_t buffer_size;
208
208
  grub_uint32_t buffer;
209
209
  grub_uint16_t buffer_limit;
210
 
} __attribute__ ((packed));
 
210
} GRUB_PACKED;
211
211
 
212
212
struct grub_pxenv_tftp_open
213
213
{
217
217
  grub_uint8_t filename[128];
218
218
  grub_uint16_t tftp_port;
219
219
  grub_uint16_t packet_size;
220
 
} __attribute__ ((packed));
 
220
} GRUB_PACKED;
221
221
 
222
222
struct grub_pxenv_tftp_close
223
223
{
224
224
  grub_uint16_t status;
225
 
} __attribute__ ((packed));
 
225
} GRUB_PACKED;
226
226
 
227
227
struct grub_pxenv_tftp_read
228
228
{
230
230
  grub_uint16_t packet_number;
231
231
  grub_uint16_t buffer_size;
232
232
  grub_uint32_t buffer;
233
 
} __attribute__ ((packed));
 
233
} GRUB_PACKED;
234
234
 
235
235
struct grub_pxenv_tftp_get_fsize
236
236
{
239
239
  grub_uint32_t gateway_ip;
240
240
  grub_uint8_t filename[128];
241
241
  grub_uint32_t file_size;
242
 
} __attribute__ ((packed));
 
242
} GRUB_PACKED;
243
243
 
244
244
struct grub_pxenv_udp_open
245
245
{
246
246
  grub_uint16_t status;
247
247
  grub_uint32_t src_ip;
248
 
} __attribute__ ((packed));
 
248
} GRUB_PACKED;
249
249
 
250
250
struct grub_pxenv_udp_close
251
251
{
252
252
  grub_uint16_t status;
253
 
} __attribute__ ((packed));
 
253
} GRUB_PACKED;
254
254
 
255
255
struct grub_pxenv_udp_write
256
256
{
261
261
  grub_uint16_t dst_port;
262
262
  grub_uint16_t buffer_size;
263
263
  grub_uint32_t buffer;
264
 
} __attribute__ ((packed));
 
264
} GRUB_PACKED;
265
265
 
266
266
struct grub_pxenv_udp_read
267
267
{
272
272
  grub_uint16_t dst_port;
273
273
  grub_uint16_t buffer_size;
274
274
  grub_uint32_t buffer;
275
 
} __attribute__ ((packed));
 
275
} GRUB_PACKED;
276
276
 
277
277
struct grub_pxenv_unload_stack
278
278
{
279
279
  grub_uint16_t status;
280
280
  grub_uint8_t reserved[10];
281
 
} __attribute__ ((packed));
 
281
} GRUB_PACKED;
282
282
 
283
 
int EXPORT_FUNC(grub_pxe_call) (int func, void * data, grub_uint32_t pxe_rm_entry);
 
283
int EXPORT_FUNC(grub_pxe_call) (int func, void * data, grub_uint32_t pxe_rm_entry) __attribute__ ((regparm(3)));
284
284
 
285
285
extern struct grub_pxe_bangpxe *grub_pxe_pxenv;
286
286