URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [tags/] [before_ORP/] [uclinux/] [uClinux-2.0.x/] [include/] [asm-i960/] [mon960.h] - Rev 901
Go to most recent revision | Compare with Previous | Blame | View Log
/* * FILE: mon960.h * AUTHOR: kma * DESCR: mon960 calls */ #ifndef MON960_H #define MON960_H #ident "$Id: mon960.h,v 1.1.1.1 2001-09-10 07:44:41 simons Exp $" unsigned long mon_entry(void); unsigned long get_prcbptr(void); void mon960_exit(int val); #ifdef CONFIG_PCI typedef struct { int bus; int dev; int fn; } pci_dev_info; /* * mon960 system calls for pci management */ extern int mon960_pcibios_present(void* info); extern int mon960_pcibios_find_device(int vendor, int dev, int idx, void* loc); extern int mon960_pcibios_find_class(int class, int idx, void* dev); #define MON960_BIOS_DECL(op,sz,type) \ extern int \ mon960_pcibios_ ## op ## _config_ ##sz(unsigned short vec, \ unsigned short dev, \ unsigned short func, \ unsigned char off, \ type val); MON960_BIOS_DECL(read,byte,unsigned char*); MON960_BIOS_DECL(read,word,unsigned short*); MON960_BIOS_DECL(read,dword,unsigned int*); MON960_BIOS_DECL(write,byte,unsigned char); MON960_BIOS_DECL(write,word,unsigned short); MON960_BIOS_DECL(write,dword,unsigned int); #undef MON960_BIOS_DECL #endif /* CONFIG_PCI */ #endif
Go to most recent revision | Compare with Previous | Blame | View Log