Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 439 → Rev 440

/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,8 → 80,10
: "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;
98,7 → 100,7
static struct {
unsigned long address;
unsigned short segment;
} pci_indirect = { 0, __KERNEL_CS };
} pci_indirect = { 0, 0 /*__KERNEL_CS*/ };
 
static int pci_bios_present;