VirtualBox

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

最後變更 在這個檔案從2564是 1,由 vboxsync 提交於 55 年 前

import

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 697 位元組
 
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
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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