Annotation of qemu/roms/ipxe/src/arch/i386/include/undiload.h, revision 1.1

1.1     ! root        1: #ifndef _UNDILOAD_H
        !             2: #define _UNDILOAD_H
        !             3: 
        !             4: /** @file
        !             5:  *
        !             6:  * UNDI load/unload
        !             7:  *
        !             8:  */
        !             9: 
        !            10: FILE_LICENCE ( GPL2_OR_LATER );
        !            11: 
        !            12: struct undi_device;
        !            13: struct undi_rom;
        !            14: 
        !            15: extern int undi_load ( struct undi_device *undi, struct undi_rom *undirom );
        !            16: extern int undi_unload ( struct undi_device *undi );
        !            17: 
        !            18: /**
        !            19:  * Call UNDI loader to create a pixie
        !            20:  *
        !            21:  * @v undi             UNDI device
        !            22:  * @v undirom          UNDI ROM
        !            23:  * @v pci_busdevfn     PCI bus:dev.fn
        !            24:  * @ret rc             Return status code
        !            25:  */
        !            26: static inline int undi_load_pci ( struct undi_device *undi,
        !            27:                                  struct undi_rom *undirom,
        !            28:                                  unsigned int pci_busdevfn ) {
        !            29:        undi->pci_busdevfn = pci_busdevfn;
        !            30:        undi->isapnp_csn = UNDI_NO_ISAPNP_CSN;
        !            31:        undi->isapnp_read_port = UNDI_NO_ISAPNP_READ_PORT;
        !            32:        return undi_load ( undi, undirom );
        !            33: }
        !            34: 
        !            35: #endif /* _UNDILOAD_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.