cores: AVR_IOPORT_DECLARE

convert port sructure declarations to macro AVR_IOPORT_DECLARE.

	modified:   simavr/cores/sim_90usb162.c
	modified:   simavr/cores/sim_mega128.c
	modified:   simavr/cores/sim_mega1280.c
	modified:   simavr/cores/sim_mega1281.c
	modified:   simavr/cores/sim_mega128rfa1.c
	modified:   simavr/cores/sim_mega128rfr2.c
	modified:   simavr/cores/sim_mega169.c
	modified:   simavr/cores/sim_mega2560.c
	modified:   simavr/cores/sim_megax.h
	modified:   simavr/cores/sim_tiny2313.c
	modified:   simavr/sim/avr_ioport.h
cores: add spi declaration

convert spi structure definitions to AVR_SPI_DECLARE

	modified:   simavr/cores/sim_90usb162.c
	modified:   simavr/cores/sim_mega128.c
	modified:   simavr/cores/sim_mega1280.c
	modified:   simavr/cores/sim_mega1281.c
	modified:   simavr/cores/sim_mega128rfr2.c
	modified:   simavr/cores/sim_mega169.c
	modified:   simavr/cores/sim_mega2560.c
	modified:   simavr/cores/sim_megax.h
	modified:   simavr/cores/sim_megax4.h
	modified:   simavr/cores/sim_megax8.h
	modified:   simavr/cores/sim_megaxm1.h
	modified:   simavr/sim/avr_spi.h
Merge pull request #99 from bsekisser/bsekisser-cores-ioport-declare

cores: AVR_IOPORT_DECLARE
Merge pull request #100 from bsekisser/bsekisser-cores-spi-declare

cores: add spi declaration
watchdog: reworked to add support for software reset.

support for reset due to watchdog timeout...  at the same time more
	strict based on watchdog documentation.

	modified:   sim/avr_watchdog.c
		largely rewritten to support software reset.

	modified:   sim/avr_watchdog.h
		data record added to support software reset

	modified:   sim/sim_regbit.h
		two new functions used in additions to get regbit from value
			and set array of registers from a value
watchdog: updates and corrections based on requests

fix style error(s)
change rename 'after_reset' to 'reset_context'
add type avr_run_t

	modified:   simavr/sim/avr_watchdog.c
		renamd 'after_reset' to 'reset_context'

	modified:   simavr/sim/avr_watchdog.h
		renamd 'after_reset' to 'reset_context'
		style correction
		changed avr_run

	modified:   simavr/sim/sim_avr.h
		added avr_run_t...
		updated 'avr_t.run' accordingly
watchdog: ammendment, dont clear data on reset.

Available documentation specifies that IO is cleared on reset.

	modified:   simavr/sim/sim_avr.c