mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 20:14:27 +01:00
typo
This commit is contained in:
@@ -12759,7 +12759,7 @@ The object is created in Python for example from `src/dev/alpha/Tsunami.py` as:
|
|||||||
fb = BadDevice(pio_addr=0x801fc0003d0, devicename='FrameBuffer')
|
fb = BadDevice(pio_addr=0x801fc0003d0, devicename='FrameBuffer')
|
||||||
....
|
....
|
||||||
|
|
||||||
Since `BadDevice` has no `+__init__+` method, and neither `BasicPioDevice`, it all just falls through until the SimObject.__init__ constructor.
|
Since `BadDevice` has no `+__init__+` method, and neither `BasicPioDevice`, it all just falls through until the `+SimObject.__init__+` constructor.
|
||||||
|
|
||||||
This constructor will loop through the inheritance chain and give the Python parameters to the C++ BadDeviceParams class as follows.
|
This constructor will loop through the inheritance chain and give the Python parameters to the C++ BadDeviceParams class as follows.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user