From 1f43e244bda0c78844720609455fd77f6f275e51 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Thu, 11 Jul 2013 21:57:04 -0500 Subject: dev: make BasicPioDevice take size in constructor Instead of relying on derived classes explicitly assigning to the BasicPioDevice pioSize field, require them to pass a size value in to the constructor. Committed by: Nilay Vaish --- src/dev/uart.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dev/uart.hh') diff --git a/src/dev/uart.hh b/src/dev/uart.hh index eac70bf1f..f1a26fda8 100644 --- a/src/dev/uart.hh +++ b/src/dev/uart.hh @@ -54,7 +54,7 @@ class Uart : public BasicPioDevice public: typedef UartParams Params; - Uart(const Params *p); + Uart(const Params *p, Addr pio_size); const Params * params() const -- cgit v1.2.3