~ubuntu-branches/ubuntu/trusty/ipxe/trusty

« back to all changes in this revision

Viewing changes to src/arch/i386/drivers/net/undiload.c

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2013-11-26 17:50:47 UTC
  • mfrom: (1.1.5) (17.1.1 trusty-proposed)
  • Revision ID: package-import@ubuntu.com-20131126175047-8uf02a31ul9wpqgx
Tags: 1.0.0+git-20131111.c3d1e78-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - d/p/enable-https.patch: Enable HTTPS support.
  - d/control,grub-ipxe*: Split grub integration from ipxe->grub-ipxe.
  - d/control: Transition kvm-ipxe->ipxe-qemu for LTS->LTS upgrade.
  - d/ipxe-qemu.links: Add compat links from /usr/share/qemu to
    /usr/lib/ipxe/qemu.
  - d/ipxe-qemu.install: Install ne.rom as pxe-ne2k_isa.rom.
* All other changes dropped in preference to upstream Debian
  packaging.
* d/control: Add libiberty-dev to BD's to fix FTBFS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
 
104
104
        /* Call loader */
105
105
        undi_loader_entry = undirom->loader_entry;
106
 
        __asm__ __volatile__ ( REAL_CODE ( "pushw %%ds\n\t"
 
106
        __asm__ __volatile__ ( REAL_CODE ( "pushl %%ebp\n\t" /* gcc bug */
 
107
                                           "pushw %%ds\n\t"
107
108
                                           "pushw %%ax\n\t"
108
109
                                           "lcall *undi_loader_entry\n\t"
109
 
                                           "addw $4, %%sp\n\t" )
 
110
                                           "popl %%ebp\n\t" /* discard */
 
111
                                           "popl %%ebp\n\t" /* gcc bug */ )
110
112
                               : "=a" ( exit )
111
113
                               : "a" ( __from_data16 ( &undi_loader ) )
112
 
                               : "ebx", "ecx", "edx", "esi", "edi", "ebp" );
 
114
                               : "ebx", "ecx", "edx", "esi", "edi" );
113
115
 
114
116
        if ( exit != PXENV_EXIT_SUCCESS ) {
115
117
                /* Clear entry point */