# HG changeset patch # User gthomas # Date 1075909455 0 # Node ID 0e10930859c3effc8ef898d2a9618c99d8396f1f # Parent af696e5657f1bcd0c8e9221e64e906b6f3e650dd Disable use of common stack for interrupts diff --git a/packages/redboot/current/ChangeLog b/packages/redboot/current/ChangeLog --- a/packages/redboot/current/ChangeLog +++ b/packages/redboot/current/ChangeLog @@ -1,3 +1,9 @@ +2004-02-04 Gary Thomas + + * cdl/redboot.cdl: Do not build with "common" interrupt stack + support. This can cause problems when running programs (via + the "go" command) as interrupts will corrupt RedBoot's stack. + 2004-01-18 Gary Thomas * src/main.c: Fix build problem if GDB stubs are not included. diff --git a/packages/redboot/current/cdl/redboot.cdl b/packages/redboot/current/cdl/redboot.cdl --- a/packages/redboot/current/cdl/redboot.cdl +++ b/packages/redboot/current/cdl/redboot.cdl @@ -9,7 +9,7 @@ ## ------------------------------------------- ## This file is part of eCos, the Embedded Configurable Operating System. ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. -## Copyright (C) 2002, 2003 Gary Thomas +## Copyright (C) 2002, 2003, 2004 Gary Thomas ## ## eCos is free software; you can redistribute it and/or modify it under ## the terms of the GNU General Public License as published by the Free @@ -57,6 +57,10 @@ cdl_package CYGPKG_REDBOOT { This package supports the Redboot \[stand-alone debug monitor\] using eCos as the underlying board support mechanism." + # Use of separate interrupt stack causes problems when running + # programs as they can end up trashing RedBoot's stack + requires { CYGIMP_HAL_COMMON_INTERRUPTS_USE_INTERRUPT_STACK == 0 } + # Since the CYGDAT_REDBOOT_CONSOLE_DEV setting ends up in the platform # HAL header, we need to include that here (via hal.h). define_proc {