serial-isa.c (a0def594286d9110a6035e02eef558cf3cf5d847) serial-isa.c (9bca0edb282de0007a4f068d9d20f3e3c3aadef7)
1/*
2 * QEMU 16550A UART emulation
3 *
4 * Copyright (c) 2003-2004 Fabrice Bellard
5 * Copyright (c) 2008 Citrix Systems, Inc.
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a copy
8 * of this software and associated documentation files (the "Software"), to deal

--- 127 unchanged lines hidden (view full) ---

136void serial_hds_isa_init(ISABus *bus, int from, int to)
137{
138 int i;
139
140 assert(from >= 0);
141 assert(to <= MAX_SERIAL_PORTS);
142
143 for (i = from; i < to; ++i) {
1/*
2 * QEMU 16550A UART emulation
3 *
4 * Copyright (c) 2003-2004 Fabrice Bellard
5 * Copyright (c) 2008 Citrix Systems, Inc.
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a copy
8 * of this software and associated documentation files (the "Software"), to deal

--- 127 unchanged lines hidden (view full) ---

136void serial_hds_isa_init(ISABus *bus, int from, int to)
137{
138 int i;
139
140 assert(from >= 0);
141 assert(to <= MAX_SERIAL_PORTS);
142
143 for (i = from; i < to; ++i) {
144 if (serial_hds[i]) {
145 serial_isa_init(bus, i, serial_hds[i]);
144 if (serial_hd(i)) {
145 serial_isa_init(bus, i, serial_hd(i));
146 }
147 }
148}
146 }
147 }
148}