📄 changelog
字号:
* include/uit_func.h:
Enable cre/del_{mbx,flg,sem} prototypes.
* include/uit_func.inl:
Implement cre/del_{mbx,flg,sem} depending on configury, and handle
the pointer arrays generally in other client routines.
* include/uit_objs.hxx:
Define the pointer arrays for access to created objects.
* include/uit_type.h:
Enable definitions of the structures used in create calls.
* src/uit_func.cxx:
Initialization code for the pointer arrays, akin to the task
startup code.
* src/uit_objs.cxx:
Instantiate the pointer arrays themselves.
1998-09-25 Bart Veer <bartv@cygnus.co.uk>
* include/pkgconf/uitron.h:
PR 17482: added #ifdef protection. If CYGPKG_UITRON_MEMPOOLFIXED
is not defined then the contained option
CYGNUM_UITRON_MEMPOOLFIXED may not be defined either. Ditto for
CYGNUM_UITRON_MEMPOOLVAR which suffers from the same problem.
And ditto for CYGPKG_UITRON_SEMAS
1998-09-20 Mark Galassi <rosalia@cygnus.com>
* include/pkgconf/uitron.h: added one or two CDL doc strings.
Tue Sep 15 19:12:28 1998 David Moore <dsm@keema.cygnus.co.uk>
* include/pkgconf/uitron.h: Cleaned up comments.
1998-09-12 Mark Galassi <rosalia@cygnus.com>
small changes to the descriptive information in the uITRON CDL
1998-09-12 Mark Galassi <rosalia@cygnus.com>
* include/pkgconf/uitron.h: small editing of the description
fields: renamed things like <name> to NAME, so that it does not
confuse SGML when incorporated into the documentation.
Also added various "doc" fields to the CFG_DATA comments.
Wed Sep 9 18:36:15 1998 Hugo Tyson <hmt@cygnus.co.uk>
* include/uit_func.inl:
* include/uit_objs.hxx:
* src/uit_objs.cxx:
Condition features on CYGPKG_UITRON_SEMAS [for example] as well as
0 < CYG_UITRON_NUM( SEMAS ) so that we get warning free
compilation with no semas enabled. Ditto for flags, mboxes,
mempools fixed and variable, alarms and cyclics.
* include/pkgconf/uitron.h:
Add a couple of requires statements from cyclics and alarms on the
kernel clock.
Also change some grammar after review.
Add an option (actually a pair, makes it better documentation IMO)
to require strict semantics from the kernel setup.
Add an option to control the optional sema initializer; it was
omitted since the editor way of configury used a #if 0.
Fri Sep 4 17:54:29 1998 Hugo Tyson <hmt@cygnus.co.uk>
* include/pkgconf/uitron.h:
Remove redundant and now unnecessary defs of CYGPKG_UITRON.
Wed Sep 2 19:06:17 1998 Hugo Tyson <hmt@cygnus.co.uk>
* include/uit_func.inl:
Memory pools and message boxes and flags
and cnt_sem2-type semaphores now all have absolute timeouts
instead of relative ones in the timely wait functions.
We add in the current time here first.
Wed Sep 2 16:45:40 1998 Hugo Tyson <hmt@cygnus.co.uk>
* include/pkgconf/uitron.h (CYGDAT_UITRON_TASK_INITIALIZERS):
Use the new kernel thread initializer with priority and thread
name in it.
* include/uit_func.inl:
* include/uit_objs.hxx:
* src/uit_func.cxx (cyg_uitron_start):
* src/uit_objs.cxx:
Our tasks are now Cyg_Threads rather than a derived class.
Original priorities of tasks are held in an array. An accessor
macro is used for the off-by-one nature of uitron IDs. The array
of original priorities is set up in cyg_uitron_start(), and
created in uit_objs.cxx.
Wed Sep 2 15:15:26 1998 Hugo Tyson <hmt@cygnus.co.uk>
* include/pkgconf/uitron.h:
Comment more strongly in the 'description' that the number of
initializers better match the number of things specified.
Tue Sep 1 19:00:02 1998 Hugo Tyson <hmt@masala.cygnus.co.uk>
* include/uit_objs.hxx:
Do not include <cyg/kernel/kernel.h>; it is deprecated.
Instead, include only kernel headers that are needed.
* include/uit_func.inl (ref_sys):
Use new kernel function Cyg_Interrupt::interrupts_enabled()
instead of a state variable. Tidy up associated code.
Include kernel headers that are needed because they were not
included in uit_objs.hxx for tidiness.
* src/uit_func.cxx:
Elide state variable that used to be used for tracking interrupt
enabledness state.
* tests/testcx5.cxx (task1):
* tests/test5.c (task1):
Test interrupt enable and disable stuff, and status reporting.
Tue Sep 1 15:12:29 1998 Hugo Tyson <hmt@cygnus.co.uk>
* include/uit_func.inl (ref_mpf):
Change comment "ECC" to "eCos".
1998-08-28 Bart Veer <bartv@cygnus.co.uk>
* include/uit_func.inl:
* tests/test1.c, tests/test2.c, tests/test3.c, tests/test4.c,
tests/test5.c, tests/testcxx.cxx, tests/testcx2.cxx,
tests/testcx3.cxx, tests/testcx4.cxx, tests/testcx5.cxx:
Updated for new kernel configuration option symbol names
Fri Aug 28 09:21:55 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
* src/uit_func.cxx (cyg_uitron_start):
Remove call to Cyg_Scheduler::start() and adjust comments to
explain where to call it from
* tests/test1.c, tests/test2.c, tests/test3.c, tests/test4.c,
tests/test5.c, tests/testcxx.cxx, tests/testcx2.cxx,
tests/testcx3.cxx, tests/testcx4.cxx, tests/testcx5.cxx:
Change the normal entry point at the top to be cyg_package_start()
under the new startup scheme. This overrides the default package
configuration and ensure cyg_uitron_start() gets called.
Change the "default" entry point at the bottom (when the test is
N/A for some reason) to cyg_start() under the new startup scheme.
Wed Aug 26 18:20:47 1998 Hugo Tyson <hmt@masala.cygnus.co.uk>
* include/pkgconf/uitron.h:
Initial version of cdl control statements for config options.
All very groovy, and looking good IMO.
A few FIX-MEs remain, no big deal.
Mon Aug 24 19:05:52 1998 Hugo Tyson <hmt@masala.cygnus.co.uk>
* include/pkgconf/uitron.h:
Change the names of config options to helpful, positive sense, and
tidy some of the names for inclusion in the GUI tool. Clean up
the namespace too.
* include/uit_func.h:
* include/uit_func.inl:
* src/uit_func.cxx:
* src/uit_objs.cxx:
Configure according to new option names and object construction
macros. Simple changes but widespread.
* tests/test[12345].c:
* tests/testcx[x2345].cxx:
Configure according to new option names.
Make it main( void ) to avoid a warning.
Fri Aug 21 18:45:16 1998 Hugo Tyson <hmt@cygnus.co.uk>
* tests/testcx4.cxx (task1):
* tests/test4.c (task1):
* include/uit_func.inl (def_alm):
Tidy the alarm and timer funcs in the course of fixing a kernel
bug actually. Test the functionality affected by the kernel
change a bit more.
Thu Aug 20 14:33:36 1998 Hugo Tyson <hmt@masala.cygnus.co.uk>
* include/uit_func.inl (ref_alm):
Elide an unused variable following the previous change.
Mon Aug 17 15:45:07 1998 Hugo Tyson <hmt@masala.cygnus.co.uk>
* include/pkgconf/uitron.h:
Add the config option CYGSEM_UITRON_PARAMS_CHECK_NADR_ONLY.
* tests/testcxx.cxx:
* tests/testcx2.cxx:
* tests/testcx4.cxx:
Avoid testing with NULL as a bad parameter when only NADR is
checked. (NADR does not cast to any-pointer in C++ so we don't
test it in these programs) Check for NADR various places as well
as NULL.
* tests/test1.c (task1):
* tests/test2.c (task1):
* tests/test4.c (task1):
Avoid testing with NULL as a bad parameter when only NADR is
checked. Check for NADR various places as well as NULL, and test
NADR as a bad param as well as NULL.
Mon Aug 17 14:45:30 1998 Hugo Tyson <hmt@cygnus.co.uk>
* include/uit_func.inl:
PR# 16536: Check for dormant tasks various places; E_OBJ
must be returned. All this error checking rather bloats the code,
unfortunately.
* tests/testcxx.cxx:
* tests/test1.c:
Test the new checks above.
Fri Aug 14 17:41:35 1998 Hugo Tyson <hmt@cygnus.co.uk>
* include/uit_func.inl ([t]wai/pol_flg):
Check for zero in a wait-for-flag operation; such a wait can never
be awakened, and so should return E_PAR.
* tests/testcx2.cxx (task1):
* tests/test2.c (task1):
Test the above new checking.
Fri Jul 24 17:12:54 1998 Hugo Tyson <hmt@masala.cygnus.co.uk>
PR#15865
* include/uit_func.inl: return a bool (strictly 1 or 0) for wtsk
rather than -1 or zero as the spec implies.
ref_flg() ref_sem() only affected.
Fri Jul 24 13:26:51 1998 Hugo Tyson <hmt@cygnus.co.uk>
PR#16531
* include/uit_func.inl: return E_OBJ when (force)resuming a
non-suspended task.
* tests/test1.c: test for that error code.
* tests/testcxx.cxx: test for that error code.
Fri Jul 24 13:02:46 1998 Hugo Tyson <hmt@cygnus.co.uk>
* Changelog: Initial ChangeLog entry.
//===========================================================================
//####ECOSGPLCOPYRIGHTBEGIN####
// -------------------------------------------
// This file is part of eCos, the Embedded Configurable Operating System.
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
//
// 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
// Software Foundation; either version 2 or (at your option) any later version.
//
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
// for more details.
//
// You should have received a copy of the GNU General Public License along
// with eCos; if not, write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
//
// As a special exception, if other files instantiate templates or use macros
// or inline functions from this file, or you compile this file and link it
// with other works to produce a work based on this file, this file does not
// by itself cause the resulting work to be covered by the GNU General Public
// License. However the source code for this file must still be made available
// in accordance with section (3) of the GNU General Public License.
//
// This exception does not invalidate any other reasons why a work based on
// this file might be covered by the GNU General Public License.
//
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
// at http://sources.redhat.com/ecos/ecos-license/
// -------------------------------------------
//####ECOSGPLCOPYRIGHTEND####
//===========================================================================
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -