ibanezchen / hyperCOS-evaluate

Other
21 stars 13 forks source link

bootc: Add mac addres config command #15

Closed ibanezchen closed 8 years ago

ibanezchen commented 8 years ago

From @ibanezchen on April 21, 2016 10:11

Copied from original issue: ibanezchen/hyperCOS#33

ibanezchen commented 8 years ago

The libsoc library now provides an API to set the mac address.

/// @param mac_addr, an array of strings, each string has a format like /// "ff:ff:ff:ff:ff:ff", followed by a \0 as the end element. void net_init(char **mac_addr);