Is there a way to define custom parameter types, particularly from an EXTRAS directory? I want to define an IPAddress type (or similar) which takes input in the form "a.b.c.d/n" (netmask) or "a.b.c.d" (plain IP) or "a.b.c.d:p" (with port) or something along those lines. I see we have an EthernetAddress type, but it looks like that's a MAC address and not an IP address. I would also appreciate suggestions on how to organize those hypothetical parameter types since an IP with netmask wouldn't be used in the same places as an IP with a port, even though they're fairly similar.

Gabe

_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to