/[gxemul]/trunk/src/include/bus_isa.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/include/bus_isa.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 20 by dpavlin, Mon Oct 8 16:19:23 2007 UTC revision 22 by dpavlin, Mon Oct 8 16:19:37 2007 UTC
# Line 2  Line 2 
2  #define BUS_ISA_H  #define BUS_ISA_H
3    
4  /*  /*
5   *  Copyright (C) 2005  Anders Gavare.  All rights reserved.   *  Copyright (C) 2005-2006  Anders Gavare.  All rights reserved.
6   *   *
7   *  Redistribution and use in source and binary forms, with or without   *  Redistribution and use in source and binary forms, with or without
8   *  modification, are permitted provided that the following conditions are met:   *  modification, are permitted provided that the following conditions are met:
# Line 28  Line 28 
28   *  SUCH DAMAGE.   *  SUCH DAMAGE.
29   *   *
30   *   *
31   *  $Id: bus_isa.h,v 1.1 2005/11/21 09:17:27 debug Exp $   *  $Id: bus_isa.h,v 1.4 2006/01/16 01:45:50 debug Exp $
32   *   *
33   *  ISA bus.   *  ISA bus.
34   */   */
35    
36  #include "misc.h"  #include "misc.h"
37    
38  void bus_isa(struct machine *machine, uint32_t bus_isa_flags,  #ifdef BUS_ISA_C
39          uint64_t isa_portbase, uint64_t isa_membase, int isa_irqbase,  
40          int reassert_irq);  struct bus_isa_data {
41            int             isa_irqbase;
42            int             reassert_irq;
43            uint64_t        isa_portbase;
44            uint64_t        isa_membase;
45    };
46    
47    #endif  /*  BUS_ISA_C  */
48    
49    struct bus_isa_data *bus_isa_init(struct machine *machine,
50            uint32_t bus_isa_flags, uint64_t isa_portbase, uint64_t isa_membase,
51            int isa_irqbase, int reassert_irq);
52    
53  /*  ISA bus flags:  */  /*  ISA bus flags:  */
54  #define BUS_ISA_IDE0                    1  #define BUS_ISA_IDE0                    1
# Line 48  void bus_isa(struct machine *machine, ui Line 59  void bus_isa(struct machine *machine, ui
59  #define BUS_ISA_PCKBC_FORCE_USE         32  #define BUS_ISA_PCKBC_FORCE_USE         32
60  #define BUS_ISA_PCKBC_NONPCSTYLE        64  #define BUS_ISA_PCKBC_NONPCSTYLE        64
61  #define BUS_ISA_NO_SECOND_PIC           128  #define BUS_ISA_NO_SECOND_PIC           128
62    #define BUS_ISA_LPTBASE_3BC             256
63    
64  #endif  /*  BUS_ISA_H  */  #endif  /*  BUS_ISA_H  */

Legend:
Removed from v.20  
changed lines
  Added in v.22

  ViewVC Help
Powered by ViewVC 1.1.26