XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
_e1000_nic_ Struct Reference
Collaboration diagram for _e1000_nic_:
Collaboration graph
[legend]

Public Attributes

uint64_t mmio_addr
 
e1000_rx_descrx
 
e1000_tx_desctx
 
uint64_t rx_phys
 
uint64_t tx_phys
 
uint8_trx_virt [E1000_NUM_RX_DESC]
 
uint8_ttx_virt [E1000_NUM_TX_DESC]
 
uint8_t irq
 
int rx_index
 
int tx_index
 
int link_status
 
bool has_eeprom
 
uint8_t mac [6]
 

Detailed Description

BSD 2-Clause License

Copyright (c) 2022-2023, Manas Kamal Choudhury All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Member Data Documentation

◆ has_eeprom

bool _e1000_nic_::has_eeprom

◆ irq

uint8_t _e1000_nic_::irq

◆ link_status

int _e1000_nic_::link_status

◆ mac

uint8_t _e1000_nic_::mac[6]

◆ mmio_addr

uint64_t _e1000_nic_::mmio_addr

◆ rx

e1000_rx_desc* _e1000_nic_::rx

◆ rx_index

int _e1000_nic_::rx_index

◆ rx_phys

uint64_t _e1000_nic_::rx_phys

◆ rx_virt

uint8_t* _e1000_nic_::rx_virt[E1000_NUM_RX_DESC]

◆ tx

e1000_tx_desc* _e1000_nic_::tx

◆ tx_index

int _e1000_nic_::tx_index

◆ tx_phys

uint64_t _e1000_nic_::tx_phys

◆ tx_virt

uint8_t* _e1000_nic_::tx_virt[E1000_NUM_TX_DESC]

The documentation for this struct was generated from the following file: