VirtualBox

source: vbox/trunk/src/VBox/Devices/PC/Etherboot-src/include/isa.h@ 46355

Last change on this file since 46355 was 1, checked in by vboxsync, 55 years ago

import

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 697 bytes
Line 
1#ifndef ISA_H
2#define ISA_H
3
4struct dev;
5
6#define ISAPNP_VENDOR(a,b,c) (((((a)-'A'+1)&0x3f)<<2)|\
7 ((((b)-'A'+1)&0x18)>>3)|((((b)-'A'+1)&7)<<13)|\
8 ((((c)-'A'+1)&0x1f)<<8))
9
10#define GENERIC_ISAPNP_VENDOR ISAPNP_VENDOR('P','N','P')
11
12struct isa_driver
13{
14 int type;
15 const char *name;
16 int (*probe)(struct dev *, unsigned short *);
17 unsigned short *ioaddrs;
18};
19
20#ifndef __HYPERSTONE__
21#define __isa_driver __attribute__ ((used,__section__(".drivers.isa")))
22#else
23#define __isa_driver __attribute__ ((used,__section__(".drivisa")))
24#endif
25
26extern const struct isa_driver isa_drivers[];
27extern const struct isa_driver isa_drivers_end[];
28
29#define ISA_ROM(IMAGE, DESCRIPTION)
30
31#endif /* ISA_H */
32
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette