This patch is unofficial, and patched source code tree is not passed the uT-Kernel compatibility test. So, patched uT-Kernel source code is no longer "uT-Kernel". But even if you apply this patch, patched soucrce code is still under uT-License, please be careful. This unofficial patch itself is public domain, no warranty. Have fun! ---- config/sysdepend/app_h8s2212/utk_config_depend.h MODIFIED - machine name (comment) - value SYSTEMAREA_TOP, SYSTEMAREA_END - value RI_USERAREA_TOP, RI_INTSTACK, CFN_REALMEMEND - and more (some task objects are restricted to save memory usage) etc/{mkfuncfiles,mkiflib,mktdsvc,mktksvc} MODIFIED - path to Perl (/usr/local/bin/perl->/usr/local/bin/perl) etc/platform ADDED - OpenBSD support etc/sysdepend/app_h8s2212/makerules.sysdepend MODIFIED - machine name (comment) - _CPUTYPE_FLAGS_ for H8/300H advanced mode - always enable USE_TRAP (this option is required) ADDED - CPU clock (same as system clock) value - OpenBSD support NOTICE - _TE_SYSTEM_NAME_ is still _APP_H8S2212_. include/sys/sysdepend/app_h8s2212/sysinfo_depend.h MODIFIED - machine name (comment) - value N_INTVEC (128->64) include/tk/sysdepend/app_h8s2212/asm_depend.h MODIFIED - machine name (comment) - INT_ENTRY for H8/300H advanced mode include/tk/sysdepend/app_h8s2212/sysdef_depend.h MODIFIED - machine name (comment) REMOVED - definitions of H8S/2212 on-chip module kernel/sysdepend/cpu/h8s2212/cpu_support.S REWRITED - H8/300H advanced mode support REMOVED - USE_DBGSPT, USE_HOOK_TRACE support - !USE_TRAP support kernel/sysdepend/cpu/h8s2212/cpu_task.h MODIFIED - machine name (comment) REWRITED - I hate ugly cast in knl_setup_context() :-( kernel/sysdepend/device/app_h8s2212/icrt0.S MODIFIED - instruction set (.h8300s->.h8300h) ADDED - copy .vector section to on-chip RAM kernel/sysdepend/device/app_h8s2212/inthdr_startup.S REWRITED - H8/3069 interrupt vector support kernel/sysdepend/device/app_h8s2212/tkdev_conf.h MODIFIED - machine name (comment) REMOVED - everything except TMP_STACK_SZ kernel/sysdepend/device/app_h8s2212/tkdev_init.c REMOVED - do something in knl_tkdev_initialize() kernel/sysdepend/device/app_h8s2212/tkdev_timer.h REWRITED - H8/3069 16bit-timer support kernel/sysdepend/device/app_h8s2212/vector.S MODIFIED - move from .text section to .vector section REWRITED - H8/3069 interrupt vector support kernel/sysmain/build/app_h8s2212/kernel-ram.lnk MODIFIED - machine name (comment) - target system (h8300s->h8300h) - address of .data section (0x00ffc000->0x00ffc100) - address of .text section (0x00000000->0x00400000) ADDED - .vector section (0x00ffc000) kernel/sysmain/build/app_h8s2212/kernel-rom.lnk MODIFIED - machine name (comment) - target system (h8300s->h8300h) - address of .data section (0x00ffc000->0x00ffc100) - address of .text section (0x00000000->0x00000100) ADDED - .vector section (0x00000000) kernel/sysmain/src/Makefile.common ADDED - GNU make (gmake) support (make->$(MAKE)) kernel/tkernel/src/task.c ADDED - offset value of struct TCB (for cpu_support.S) lib/build/Makefile.common ADDED - GNU make (gmake) support (make->$(MAKE)) lib/libstr/src/Makefile.common ADDED - GNU make (gmake) support (make->$(MAKE)) lib/libsvc/build/h8s2212/*.pl MODIFIED - machine name (comment) - instruction set (.h8300s->.h8300h) - path to Perl (/usr/local/bin/perl->/usr/local/bin/perl) lib/libsvc/src/sysdepend/h8s2212/*.S MODIFIED - machine name (comment) - instruction set (.h8300s->.h8300h) lib/libtk/src/Makefile.common ADDED - GNU make (gmake) support (make->$(MAKE)) lib/libtk/src/sysdepend/app_h8s2212/disint.S MODIFIED - machine name (comment) - instruction set (.h8300s->.h8300h) lib/libtm/src/sysdepend/app_h8s2212/sio.c REWRITED - H8/3069 SCI support