35 for (
int i = 0;
i <
p.port_int_primary_connection_count;
i++) {
39 for (
int i = 0;
i <
p.port_int_secondary_connection_count;
i++) {
64 if (if_name ==
"int_primary")
66 else if (if_name ==
"int_secondary")
Port & getPort(const std::string &if_name, PortID idx=InvalidPortID) override
Get a port with a given name and index.
Device model for an Intel PIIX4 IDE controller.
Ports are used to interface objects to each other.
std::vector< IntSourcePin< X86IdeController > * > intPrimary
void clearInterrupt(bool is_primary) override
X86IdeController(const Params &p)
Port & getPort(const std::string &if_name, PortID idx=InvalidPortID) override
Get a port with a given name and index.
void postInterrupt(bool is_primary) override
std::vector< IntSourcePin< X86IdeController > * > intSecondary
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
std::string csprintf(const char *format, const Args &...args)
const std::string & name()