commit | a6964f849d85ee81c4541fa04bc016314b2966b2 | [log] [download] |
---|---|---|
author | Mark Pizzolato <mark@infocomm.com> | Fri Apr 15 09:04:39 2011 -0700 |
committer | Mark Pizzolato <mark@infocomm.com> | Fri Apr 15 09:04:39 2011 -0700 |
tree | 970d277921c0922b60fbfe4fd12bb204406c1a5c | |
parent | eb514e2a8d97b25bb77a20e102dfa8c9eca05b9c [diff] |
Cleaned up parameter declarations in all simulators to achieve clean compiles on all platforms Very minor in all cases, but the strange case of swtp_cpu.c This module used expressions of the form: PC = ++PC & ADDRMASK; Officially, the C language says that expressions which modify the same variable in more than one place have undefined behavior. These were changed to the legal form which performs the desired action: PC = (PC + 1) & ADDRMASK;