Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 587 → Rev 439

/shark/trunk/drivers/newpci/pcbios.c
71,7 → 71,7
unsigned long entry; /* %edx */
unsigned long flags;
 
local_irq_save(flags);
local_irq_save(flags);
__asm__("lcall *(%%edi); cld"
: "=a" (return_code),
"=b" (address),
80,10 → 80,8
: "0" (service),
"1" (PCIBIOS_PCI_BIOS_PRESENT),
"D" (&bios32_indirect));
local_irq_restore(flags);
local_irq_restore(flags);
 
printk("Breakpoint\n");
 
switch (return_code) {
case 0:
return address + entry;
100,7 → 98,7
static struct {
unsigned long address;
unsigned short segment;
} pci_indirect = { 0, 0 /*__KERNEL_CS*/ };
} pci_indirect = { 0, __KERNEL_CS };
 
static int pci_bios_present;