You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(16) |
Aug
(203) |
Sep
(142) |
Oct
(113) |
Nov
(73) |
Dec
(27) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(7) |
Feb
(38) |
Mar
(6) |
Apr
(1) |
May
(9) |
Jun
(104) |
Jul
(6) |
Aug
(11) |
Sep
(13) |
Oct
(6) |
Nov
(15) |
Dec
(37) |
2008 |
Jan
(17) |
Feb
(4) |
Mar
(6) |
Apr
(4) |
May
(2) |
Jun
(5) |
Jul
(1) |
Aug
(3) |
Sep
(21) |
Oct
(7) |
Nov
|
Dec
(3) |
2009 |
Jan
(4) |
Feb
(15) |
Mar
|
Apr
(34) |
May
(44) |
Jun
(12) |
Jul
(6) |
Aug
(15) |
Sep
(20) |
Oct
(10) |
Nov
(1) |
Dec
(20) |
2010 |
Jan
(19) |
Feb
(5) |
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <ped...@us...> - 2009-02-07 22:10:42
|
Revision: 1215 http://cegcc.svn.sourceforge.net/cegcc/?rev=1215&view=rev Author: pedroalves Date: 2009-02-07 22:10:34 +0000 (Sat, 07 Feb 2009) Log Message: ----------- gcc/libstdc++/ * include/c_std/std_cstdlib.h [__MINGW32CE__]: Don't pull in wctomb. Modified Paths: -------------- trunk/cegcc/src/gcc/ChangeLog.ce trunk/cegcc/src/gcc/libstdc++-v3/include/c_std/std_cstdlib.h Modified: trunk/cegcc/src/gcc/ChangeLog.ce =================================================================== --- trunk/cegcc/src/gcc/ChangeLog.ce 2009-02-05 01:27:12 UTC (rev 1214) +++ trunk/cegcc/src/gcc/ChangeLog.ce 2009-02-07 22:10:34 UTC (rev 1215) @@ -1,3 +1,9 @@ +2009-02-07 Pedro Alves <ped...@us...> + + gcc/libstdc++/ + * include/c_std/std_cstdlib.h [__MINGW32CE__]: Don't pull in + wctomb. + 2008-09-24 Pedro Alves <ped...@us...> gcc/libstdc++/ Modified: trunk/cegcc/src/gcc/libstdc++-v3/include/c_std/std_cstdlib.h =================================================================== --- trunk/cegcc/src/gcc/libstdc++-v3/include/c_std/std_cstdlib.h 2009-02-05 01:27:12 UTC (rev 1214) +++ trunk/cegcc/src/gcc/libstdc++-v3/include/c_std/std_cstdlib.h 2009-02-07 22:10:34 UTC (rev 1215) @@ -143,7 +143,9 @@ #endif #ifdef _GLIBCXX_USE_WCHAR_T using ::wcstombs; +#ifndef __MINGW32CE__ using ::wctomb; +#endif #endif // _GLIBCXX_USE_WCHAR_T inline long This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2009-02-05 01:27:19
|
Revision: 1214 http://cegcc.svn.sourceforge.net/cegcc/?rev=1214&view=rev Author: pedroalves Date: 2009-02-05 01:27:12 +0000 (Thu, 05 Feb 2009) Log Message: ----------- Delete files that have been deleted upstream. Fix up my name in the ChangeLong entry of the previous commit. :-) Modified Paths: -------------- trunk/cegcc/src/binutils/ChangeLog.ce Removed Paths: ------------- trunk/cegcc/src/binutils/bfd/arange-set.c trunk/cegcc/src/binutils/bfd/arange-set.h trunk/cegcc/src/binutils/config/confsubdir.m4 trunk/cegcc/src/binutils/config/mh-armpic trunk/cegcc/src/binutils/config/mh-elfalphapic trunk/cegcc/src/binutils/config/mh-i370pic trunk/cegcc/src/binutils/config/mh-ia64pic trunk/cegcc/src/binutils/config/mh-m68kpic trunk/cegcc/src/binutils/config/mh-papic trunk/cegcc/src/binutils/config/mh-ppcpic trunk/cegcc/src/binutils/config/mh-s390pic trunk/cegcc/src/binutils/config/mh-sparcpic trunk/cegcc/src/binutils/config/mh-x86pic trunk/cegcc/src/binutils/gas/testsuite/gas/ppc/booke_xcoff64.d trunk/cegcc/src/binutils/gas/testsuite/gas/ppc/booke_xcoff64.s trunk/cegcc/src/binutils/ld/sha1.c trunk/cegcc/src/binutils/ld/sha1.h Modified: trunk/cegcc/src/binutils/ChangeLog.ce =================================================================== --- trunk/cegcc/src/binutils/ChangeLog.ce 2009-02-05 01:21:13 UTC (rev 1213) +++ trunk/cegcc/src/binutils/ChangeLog.ce 2009-02-05 01:27:12 UTC (rev 1214) @@ -1,4 +1,4 @@ -2009-02-04 mosfet <fo...@sm...> +2009-02-04 Pedro Alves <ped...@us...> Merge from FSF head. Deleted: trunk/cegcc/src/binutils/bfd/arange-set.c =================================================================== --- trunk/cegcc/src/binutils/bfd/arange-set.c 2009-02-05 01:21:13 UTC (rev 1213) +++ trunk/cegcc/src/binutils/bfd/arange-set.c 2009-02-05 01:27:12 UTC (rev 1214) @@ -1,729 +0,0 @@ -/* DWARF 2 Arange-Set. - Copyright 2007 Free Software Foundation, Inc. - Contributed by Doug Kwan, Google Inc. - - This file is part of BFD. - - This program 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 3 of the License, or (at - your option) any later version. - - This program 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 this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, - MA 02110-1301, USA. */ - -#include "sysdep.h" -#include "bfd.h" -#include "libiberty.h" -#include "libbfd.h" -#include "arange-set.h" -#include "splay-tree.h" - -/* Implementation of an arange-set. The set is implemented using the - splay tree support in libiberty. The advantage of using this is - that it has been well tested and is relatively simple to use. The - disadvantage is that it is too general and it does not fit our design - exactly. So we waste a bit of memory for unneeded generality and work - around for mis-match between the splay tree API and the arange-set - internals. A specialized implentation of a balanced tree type for - arange-set exclusively may speed up things a little and reduce memory - consumption. Until there is a pressing need, we stick to the splay - tree in libiberty. */ - -struct arange_set_s -{ - /* Splay tree containing aranges. */ - splay_tree ranges; - - /* Lowest address in set. If set is empty, it is ~0. */ - bfd_vma lower_bound; - - /* Highest address in set. If set is empty, it is 0. */ - bfd_vma upper_bound; - - /* TRUE if aranges in this set have values. */ - bfd_boolean value_p; - - /* Function to compare arange values. */ - arange_value_equal_fn value_equal_fn; - - /* Function to copy an arange value. */ - arange_value_copy_fn value_copy_fn; - - /* Function to combine arange values. */ - arange_value_combine_fn value_combine_fn; - - /* Function to delete an arange value. */ - arange_value_delete_fn value_delete_fn; - - /* Function to allocate a piece of memory. */ - arange_set_allocate_fn allocate_fn; - - /* Function to deallocate a piece of memory. */ - arange_set_deallocate_fn deallocate_fn; - - /* Call back data shared by all callbacks. */ - void *data; -}; - -/* Structure for aranges with a value attached. Since a splay tree - node can only hold one value, we need to use the container struct - to store data associated with an arange and have the splay tree value - to be a pointer to this struct. */ - -typedef struct -{ - /* High-pc of an arange. This is different from the DWARF2 semantics that - the high-pc is really the last location in an arange. */ - bfd_vma high; - - /* We need to store a pointer to the set because splay_tree_value_delete - only takes a pointer to the value deleted. If we use a deallocator - that need extra information like a pointer to the memory pool, we need to - look up via the set pointer. This adds one extra pointer per arange. */ - arange_set set; - - /* Value associated with this arange. */ - arange_value_type value; - -} arange_value_container_t; - - - -static void -arange_set_delete_value (arange_set set, arange_value_type value) -{ - if (set->value_delete_fn) - (set->value_delete_fn) (value, set->data); -} - -/* Compare two VMAs as keys of splay tree nodes. */ - -static int -splay_tree_compare_bfd_vmas (splay_tree_key k1, splay_tree_key k2) -{ - if ((bfd_vma) k1 < (bfd_vma) k2) - return -1; - else if ((bfd_vma) k1 > (bfd_vma) k2) - return 1; - - return 0; -} - -/* Default memory allocator and deallocator. */ - -void * -arange_set_allocate (arange_set set, int size) -{ - if (set->allocate_fn) - return (set->allocate_fn) (size, set->data); - - return xmalloc (size); -} - -void -arange_set_deallocate (arange_set set, void *object) -{ - if (set->deallocate_fn) - (set->deallocate_fn) (object, set->data); - else - free (object); -} - -static void -arange_set_delete_value_container (splay_tree_value value) -{ - arange_value_container_t *container; - - container = (arange_value_container_t*) value; - arange_set_delete_value (container->set, container->value); - arange_set_deallocate (container->set, container); -} - -/* Create an arange set. Return the new set of NULL if there is any - error. - - allocate_fn is the memory allocator function of this arange set. If - it is NULL, the default allocator will be used. - - deallocate_fn is the memory deallocator function of this arange set. If - it is NULL, the default allocator will be used. - - value_p specifies whether an arange set supports values. If it is - TURE. Each arange can be associated with a value of type arange_value_type. - If it is FALSE, the following parameters value_equal_fn, value_copy_fn, - value_combine_fn and value_delete_fn will be ignored. - - value_equal_fn is the value equality function. An arange uses it to - check if two values are the same. If it is NULL, the default bit-wise - equality function will be used. - - value_copy_fn is the value copy function. An arange uses it to copy - values of type arange_value_type. If it is NULL, the default bit-wise - copy function will be used. - - value_combine_fn is the value combine function. An arange uses it to - combine values of two identical arange. If it is NULL, the default - constant zero function will be used. - - value_delete_fn is the value deletion function. If it is not NULL, - it will be called when an arange deletes a value. - - data is pointer to an object, which will be passed to all allocate_fn, - deallocate_fn, value_equal_fn, value_copy_fn, value_combine_fn and - value_delete_fn. */ - -arange_set -arange_set_new (arange_set_allocate_fn allocate_fn, - arange_set_deallocate_fn deallocate_fn, - bfd_boolean value_p, - arange_value_equal_fn value_equal_fn, - arange_value_copy_fn value_copy_fn, - arange_value_combine_fn value_combine_fn, - arange_value_delete_fn value_delete_fn, - void *data) -{ - arange_set set; - splay_tree sp; - splay_tree_delete_value_fn fn; - - /* Allocate space for arange structure. */ - set = (arange_set) - (*allocate_fn) (sizeof (struct arange_set_s), data); - if (!set) - return set; - - fn = value_p ? arange_set_delete_value_container : NULL; - sp = splay_tree_new_with_allocator (splay_tree_compare_bfd_vmas, NULL, - fn, allocate_fn, deallocate_fn, - data); - if (!sp) - { - (deallocate_fn) (set, data); - return NULL; - } - - set->ranges = sp; - set->lower_bound = ~0; - set->upper_bound = 0; - set->value_p = value_p; - set->allocate_fn = allocate_fn; - set->deallocate_fn = deallocate_fn; - set->value_equal_fn = value_equal_fn; - set->value_copy_fn = value_copy_fn; - set->value_combine_fn = value_combine_fn; - set->value_delete_fn = value_delete_fn; - set->data = data; - return set; -} - -/* Delete an arange set. */ - -void -arange_set_delete (arange_set set) -{ - splay_tree_delete (set->ranges); - (*set->deallocate_fn) (set, set->data); -} - -/* Return TRUE if and only if arange set is empty. */ - -bfd_boolean -arange_set_empty_p (arange_set set) -{ - return set->lower_bound > set->upper_bound; -} - -/* Accessors for low and high of an arange. - - There is no arange_set_node_set_low since the low address is the - key of the splay tree node. */ - -/* Get the high VMA address of a node. */ - -static bfd_vma -arange_set_node_high (arange_set set, splay_tree_node node) -{ - arange_value_container_t *container; - - if (set->value_p) - { - container = (arange_value_container_t*) node->value; - return container->high; - } - - return (bfd_vma) node->value; -} - -/* Set the high VMA address of a node. */ - -static void -arange_set_node_set_high (arange_set set, splay_tree_node node, bfd_vma address) -{ - arange_value_container_t *container; - - if (set->value_p) - { - container = (arange_value_container_t*) node->value; - container->high = address; - } - else - node->value = (splay_tree_value) address; -} - -/* Get the low VMA address of a node. */ - -static bfd_vma -arange_set_node_low (splay_tree_node node) -{ - return (bfd_vma) node->key; -} - -/* If arange set supports values, return value of an arange; otheriwse - always return 0 so that it appears that all aranges have the same value. */ - -static arange_value_type -arange_set_node_value (arange_set set, splay_tree_node node) -{ - arange_value_container_t *container; - - if (set->value_p) - { - container = (arange_value_container_t*) node->value; - return container->value; - } - - return 0; -} - -/* If arange set supports values, return value of an arange; otheriwse - always return 0 so that it appears that all aranges have the same value. */ - -static void -arange_set_node_set_value (arange_set set, - splay_tree_node node, - arange_value_type value) -{ - arange_value_container_t *container; - - if (set->value_p) - { - container = (arange_value_container_t*) node->value; - container->value = value; - } -} - -/* Return TRUE if and only if arange set supports values. */ - -bfd_boolean -arange_set_has_values_p (arange_set set) -{ - return set->value_p; -} - -/* Copy a value using the value copying function of an arange set. If - the set does not support values or if there is not value copying - function specified, it simply returns the input value. */ - -arange_value_type -arange_set_copy_value (arange_set set, arange_value_type value) -{ - /* If no copy function is specified or set does not support values, - default is bit-wise copy. */ - if (set->value_p && set->value_copy_fn) - return (set->value_copy_fn) (value, set->data); - - return value; -} - -static arange_value_type -arange_set_combine_value (arange_set set, - arange_value_type value1, - arange_value_type value2) -{ - /* If no combine function is specified or set does not support values, - default is returning 0. */ - if (set->value_p && set->value_combine_fn) - return (set->value_combine_fn) (value1, value2, set->data); - - return (arange_value_type) 0; -} - -/* Compares two values for equality. If the arange set does not support values - or if no value equality function is specified, this function simply does - a bit-wise comparison. */ - -bfd_boolean -arange_set_value_equal_p (arange_set set, - arange_value_type value1, - arange_value_type value2) -{ - /* If no equality function is specified or set does not support values, - default is bit-wise comparison. */ - if (set->value_p && set->value_equal_fn) - return (set->value_equal_fn) (value1, value2, set->data); - - return value1 == value2; -} - -/* Check to see if a given address is in an arange set. Return TRUE if the - address is inside one of the aranges. If low_ptr, high_ptr and value_ptr are - used to return lower address, upper address and value associated with a - found arounge. If anyone of them is NULL, the corresponding information - is not returned. For arange set without values, no information is returned - through the pointer value_ptr. */ - -bfd_boolean -arange_set_lookup_address (arange_set set, bfd_vma address, - bfd_vma *low_ptr, bfd_vma *high_ptr, - arange_value_type *value_ptr) -{ - splay_tree_node pred, node; - - if (address < set->lower_bound || address > set->upper_bound) - return FALSE; - - /* Find immediate predecessor. */ - pred = splay_tree_predecessor (set->ranges, (splay_tree_key) address); - if (pred - && arange_set_node_high (set, pred) >= address) - node = pred; - else - /* If the predecessor range does not cover this address, the address - is in the arange set only if itself starts an arange. */ - node = splay_tree_lookup (set->ranges, (splay_tree_key) address); - - if (node) - { - /* Also return arange boundaries if caller supplies pointers. */ - if (low_ptr) - *low_ptr = arange_set_node_low (node); - if (high_ptr) - *high_ptr = arange_set_node_high (set, node); - if (set->value_p && value_ptr) - *value_ptr = arange_set_node_value (set, node); - return TRUE; - } - - return FALSE; -} - -/* Insert an arange [low, high] into a set's splay tree. If the set supports - value, also insert with the given value. Return the inserted node if there - is no error or NULL otherwise. */ - -static splay_tree_node -arange_set_splay_tree_insert (arange_set set, - bfd_vma low, - bfd_vma high, - arange_value_type value) -{ - splay_tree_value sp_value; - arange_value_container_t *container; - - if (set->value_p) - { - int size = sizeof (arange_value_container_t); - void *data = set->ranges->allocate_data; - - container = - (arange_value_container_t*) (*set->ranges->allocate) (size, data); - if (!container) - return NULL; - container->high = high; - - /* Due to the design of splay tree API, there is no way of passing - callback data to the splay tree value delete function. Hence we need - to store a pointer to set in every containier! */ - container->set = set; - - container->value = value; - sp_value = (splay_tree_value) container; - } - else - sp_value = (splay_tree_value) high; - - /* Currently splay_tree_insert does not return any status to tell if there - is an error. */ - return splay_tree_insert (set->ranges, (splay_tree_key) low, sp_value); -} - -/* Split [low, high] to [low, address) & [address, high]. */ - -static bfd_boolean -arange_set_split_node (arange_set set, splay_tree_node node, bfd_vma address) -{ - splay_tree_node node2; - arange_value_type value; - bfd_vma low, high; - - low = arange_set_node_low (node); - high = arange_set_node_high (set, node); - - BFD_ASSERT (low < address && address <= high); - - value = arange_set_copy_value (set, arange_set_node_value (set, node)); - node2 = arange_set_splay_tree_insert (set, address, high, value); - if (!node2) - return FALSE; - - arange_set_node_set_high (set, node, address - 1); - return TRUE; -} - -static splay_tree_node -arange_set_maybe_merge_with_predecessor (arange_set set, splay_tree_node node) -{ - splay_tree_node pred; - bfd_vma low, high; - - low = arange_set_node_low (node); - high = arange_set_node_high (set, node); - - pred = splay_tree_predecessor (set->ranges, low); - if (! pred) - return node; - - if (arange_set_node_high (set, pred) + 1 == low - && arange_set_value_equal_p (set, - arange_set_node_value (set, pred), - arange_set_node_value (set, node))) - { - splay_tree_remove (set->ranges, arange_set_node_low (node)); - arange_set_node_set_high (set, pred, high); - return arange_set_maybe_merge_with_predecessor (set, pred); - } - - return node; -} - -/* Insert an arange [low,high] into a set. Return TRUE if and only if there - is no error. Note that the address high is also included where as in - DWARF2 an address range between low & high means [low,high). - - This only handles sets with values. For the simpler case of sets without - value, it is handled in arange_set_insert(). This function is - tail-recurive. It is guaranteed to terminate because it only recurses - with a smaller range than it is given. */ - -static bfd_boolean -arange_set_insert_value (arange_set set, - bfd_vma low, - bfd_vma high, - arange_value_type value) -{ - splay_tree_node succ, pred, node; - bfd_vma succ_high, succ_low; - arange_value_type combined, old_value; - - if (low > high) - { - arange_set_delete_value (set, value); - return FALSE; - } - - pred = splay_tree_predecessor (set->ranges, low); - if (pred && arange_set_node_high (set, pred) >= low) - arange_set_split_node (set, pred, low); - - node = splay_tree_lookup (set->ranges, low); - if (node) - { - /* Split node if its arange is larger than inserted arange. */ - if (arange_set_node_high (set, node) > high) - arange_set_split_node (set, node, high + 1); - - old_value = arange_set_node_value (set, node); - combined = arange_set_combine_value (set, old_value, value); - arange_set_node_set_value (set, node, combined); - node = arange_set_maybe_merge_with_predecessor (set, node); - arange_set_delete_value (set, old_value); - - /* Insert remaining arange by tail-recursion. */ - if (high > arange_set_node_high (set, node)) - return arange_set_insert_value (set, - arange_set_node_high (set, node) + 1, - high, value); - else - { - /* Node must cover exactly the range. */ - BFD_ASSERT (high == arange_set_node_high (set, node)); - arange_set_delete_value (set, value); - succ = splay_tree_successor (set->ranges, arange_set_node_low (node)); - if (succ) - succ = arange_set_maybe_merge_with_predecessor (set, succ); - return TRUE; - } - } - - succ = splay_tree_successor (set->ranges, low); - if (succ) - { - succ_low = arange_set_node_low (succ); - succ_high = arange_set_node_high (set, succ); - - if (succ_low <= high) - { - node = arange_set_splay_tree_insert (set, low, succ_low - 1, value); - if (!node) - return FALSE; - - /* Update set lower bound only after insertion is successful. */ - if (low < set->lower_bound) - set->lower_bound = low; - - node = arange_set_maybe_merge_with_predecessor (set, node); - - /* Recurse to handle rest of insertion. Note that we have to copy - value here since it has already been used in the node above. */ - return arange_set_insert_value (set, succ_low, high, - arange_set_copy_value (set, value)); - } - } - - node = arange_set_splay_tree_insert (set, low, high, value); - if (!node) - return FALSE; - - /* Update set boundaries only after insertion is successful. */ - if (low < set->lower_bound) - set->lower_bound = low; - if (high > set->upper_bound) - set->upper_bound = high; - - node = arange_set_maybe_merge_with_predecessor (set, node); - - succ = splay_tree_successor (set->ranges, arange_set_node_low (node)); - if (succ) - succ = arange_set_maybe_merge_with_predecessor (set, succ); - - return TRUE; -} - -bfd_boolean -arange_set_insert (arange_set set, - bfd_vma low, - bfd_vma high, - arange_value_type value) -{ - splay_tree tree = set->ranges; - splay_tree_node pred, succ, node = NULL; - bfd_vma pred_high, node_low; - - if (set->value_p) - return arange_set_insert_value (set, low, high, value); - - if (low > high) - return FALSE; - - pred = splay_tree_predecessor (tree, low); - if (pred) - { - pred_high = arange_set_node_high (set, pred); - - /* Nothing to be done if predecessor contains new aranges. */ - if (pred_high >= high) - return TRUE; - - /* If we can expand predecessor, do so. Test for the case in which - predecessor does not contain new arange but touches it. */ - if (pred_high >= low || pred_high + 1 == low) - { - node = pred; - arange_set_node_set_high (set, node, high); - } - } - - /* Try to see if [low,something] is already in splay tree. */ - if (node == NULL) - { - node = splay_tree_lookup (tree, low); - if (node) - { - /* Nothing to be done if node contains new aranges. */ - if (arange_set_node_high (set, node) >= high) - return TRUE; - - arange_set_node_set_high (set, node, high); - } - } - - if (node == NULL) - { - node = arange_set_splay_tree_insert (set, low, high, 0); - if (!node) - return FALSE; - } - - BFD_ASSERT (node - && arange_set_node_low (node) <= low - && arange_set_node_high (set, node) >= high); - - /* Update set upper and lower bounds. */ - if (low < set->lower_bound) - set->lower_bound = low; - if (high > set->upper_bound) - set->upper_bound = high; - - /* Merge successor if it overlaps or touches node. */ - node_low = arange_set_node_low (node); - while ((succ = splay_tree_successor (tree, node_low)) != NULL - && ((arange_set_node_high (set, node) >= arange_set_node_low (succ)) - || (arange_set_node_high (set, node) + 1 - == arange_set_node_low (succ)))) - { - if (arange_set_node_high (set, succ) > high) - arange_set_node_set_high (set, node, arange_set_node_high (set, succ)); - splay_tree_remove (tree, arange_set_node_low (succ)); - } - return TRUE; -} - -struct arange_set_foreach_adapter_data -{ - void *data; - arange_set set; - arange_set_foreach_fn foreach_fn; -}; - -/* Adaptor to make arange_set_foreach works with splay_tree_foreach. */ - -static int -arange_set_foreach_adapter (splay_tree_node node, void *data) -{ - struct arange_set_foreach_adapter_data *adapter_data; - arange_set set; - - adapter_data = data; - set = adapter_data->set; - return (adapter_data->foreach_fn) (arange_set_node_low (node), - arange_set_node_high (set, node), - arange_set_node_value (set, node), - adapter_data->data); -} - -/* Traverse aranges in a set. For each arange in ascending order of - low addresses, call foreach_fn with arange boundaries and data. - If any invocation of foreach_fn returns a non-zero value, stop traversal - and return that value. Otherwise, return 0. */ - -int -arange_set_foreach (arange_set set, - arange_set_foreach_fn foreach_fn, - void *data) -{ - struct arange_set_foreach_adapter_data adapter_data; - - adapter_data.data = data; - adapter_data.foreach_fn = foreach_fn; - adapter_data.set = set; - return splay_tree_foreach (set->ranges, arange_set_foreach_adapter, - (void *) &adapter_data); -} Deleted: trunk/cegcc/src/binutils/bfd/arange-set.h =================================================================== --- trunk/cegcc/src/binutils/bfd/arange-set.h 2009-02-05 01:21:13 UTC (rev 1213) +++ trunk/cegcc/src/binutils/bfd/arange-set.h 2009-02-05 01:27:12 UTC (rev 1214) @@ -1,187 +0,0 @@ -/* DWARF 2 Arange-Set. - Copyright 2007 Free Software Foundation, Inc. - Contributed by Doug Kwan, Google Inc. - - This file is part of BFD. - - This program 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 3 of the License, or (at - your option) any later version. - - This program 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 this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, - MA 02110-1301, USA. */ - -/* Scalable DWARF2 Arange Set. - - The original code in dwarf2.c uses an unsorted singly-linked list to - represent aranges in a compilation unit. Looking up for an address - became very in-efficient for extremely large binaries with many - compilation units, each of which having long list of aranges. - - The arange-set implemented here supports insertion and address - containment queries for an arbitrary large collection of aranges in - an efficient manner. In addition, it also supports aranges with - values. - - Arange insertion with value. - - For valued arange-set, we need to specify 4 operations during set - creation. If unspecified, reasonable default behaviours are assumed. - The operations define how arange insertion merges two identical aranges - with different values. The 4 operations are: - - Equality - Copy - Combination - Deletion - - When arange_set_insert () inserts an arange. It breaks the to-be-inserted - arange into smaller aranges using the boundaries of any overlapping - aranges as cutting point. In addition, arange_set_insert () may also - splilt any existing arange that overlap the ends of the to-be-inserted - arange. After such splitting of the new and existing aranges, the - to-be-inserted arange becomes a collection of smaller aranges, each of - which either does not overlapping with any existing arange or overlapping - completely with one existing arange. While splitting aranges, values - are copied using the Copy operation specified in the set. - - The for each smaller new arange, arange_set_insert () inserts the new - arange according to these rules: - - 1. If there is no overlapping existing arange, insert new arange. - - 2. If there is an overlapping existing arange and its value equals - to the inserted value according to the value equality operation - of the set, do nothing. - - 3. If there is an overlapping existing arange and its value is not - the inserted value according to the value equality operation, - combine the inserted value with that of the existing arange using - the value combination operation of set. - - If as a result of insertion, there are adjacent aranges with equal values, - the adjacent aranges will be merge. */ - -#ifndef ARANGE_SET_H -#define ARANGE_SET_H - -#include "sysdep.h" -#include "bfd.h" - -/* An arange_set is a pointer to an arange_set_s struct, whose implementation - is opaque to clients using the arange set. */ -typedef struct arange_set_s *arange_set; - -#ifndef _WIN64 - typedef unsigned long int arange_set_uhostptr_t; -#else - typedef unsigned long long arange_set_uhostptr_t; -#endif - -/* Type of value attached to an arange. This should be wide enough to be - converted from and back to any type without loss. */ -typedef arange_set_uhostptr_t arange_value_type; - -/* Type of function that is used to allocate memory for an arange-set. */ -typedef void* (*arange_set_allocate_fn)(int, void*); - -/* Type of function that is used to deallocate memory of an arange-set. */ -typedef void (*arange_set_deallocate_fn)(void*, void*); - -/* Type of function that is called for each arange during a traversal of - the set containing that arange. */ -typedef int (*arange_set_foreach_fn)(bfd_vma, bfd_vma, arange_value_type, - void *); - -/* Type of function that is called to test equality of range values. */ -typedef bfd_boolean (*arange_value_equal_fn)(arange_value_type, - arange_value_type, void *); - -/* Type of function that is called to copy a range value. */ -typedef arange_value_type (*arange_value_copy_fn)(arange_value_type, void *); - -/* Type of function that is called to combine two range values. */ -typedef arange_value_type (*arange_value_combine_fn)(arange_value_type, - arange_value_type, - void *); - -/* Type of function that is called to delete a range value. */ -typedef void (*arange_value_delete_fn)(arange_value_type, void *); - -/* Create an arange set. Return the new set of NULL if there is any - error. */ -extern arange_set arange_set_new (arange_set_allocate_fn, - arange_set_deallocate_fn, - bfd_boolean, - arange_value_equal_fn, - arange_value_copy_fn, - arange_value_combine_fn, - arange_value_delete_fn, - void *); - -/* Delete an arange set. */ -extern void arange_set_delete (arange_set); - -/* Return TRUE if an only if arange set is empty. */ -extern bfd_boolean arange_set_empty_p (arange_set); - -/* Check to see if a given address is in an arange set. Return TRUE if the - address is inside one of the aranges and if also low_ptr and high_ptr are - not NULL, return the boundaries of the arange. - - If the address is not in any arange in set, return FALSE. */ -extern bfd_boolean arange_set_lookup_address (arange_set, bfd_vma, bfd_vma *, - bfd_vma *, arange_value_type *); - -/* Insert an arange [low,high] into a set. Note that the address high is - also included where as in DWARF2 an address range between low & high means - [low,high). - - If the set is created with no capability of storing values, the value - argument is ignored. Otherwise, the value is stored in the inserted range. - If there are overlapping ranges, values are combined according to - value_combine_fn. - - If value is an object, arange_set_insert () takes ownership of that objec. - Caller should not deallocate objects that are passed to arange_set_insert(). - - Return TRUE if and only if there is no error. */ -extern bfd_boolean arange_set_insert (arange_set, bfd_vma, bfd_vma, - arange_value_type); - -/* Return TRUE if and only if arange set supports arang evalues. */ -extern bfd_boolean arange_set_has_values_p (arange_set); - -/* Traverse aranges in a set. For each arange in ascending order of - low addresses, call foreach_fn with arange boundaries and data. - If any invocation of foreach_fn returns a non-zero value, stop traversal - and return that value. Otherwise, return 0. */ -extern int arange_set_foreach (arange_set, arange_set_foreach_fn, void *); - -/* Return TRUE if two values are considered equal by the value comparison - function of an arange_set. If the arange set does not support values or - if it has no value equality function specified, this function performs - a bit-wise comparison of its input. */ -extern bfd_boolean arange_set_value_equal_p (arange_set, arange_value_type, - arange_value_type); - -/* Duplicate a value. If the arange set does not support values or if it - has no value copying function specified, this function returns the input - value. */ -extern arange_value_type arange_set_copy_value (arange_set, arange_value_type); - -/* Allocate memory using the allocator of an arange set. */ -extern void * arange_set_allocate (arange_set, int); - -/* Deallocate memory allocated from arange_set_allocate (). */ -extern void arange_set_deallocate (arange_set, void *); - -#endif /* ARANGE_SET_H */ Deleted: trunk/cegcc/src/binutils/config/confsubdir.m4 =================================================================== --- trunk/cegcc/src/binutils/config/confsubdir.m4 2009-02-05 01:21:13 UTC (rev 1213) +++ trunk/cegcc/src/binutils/config/confsubdir.m4 2009-02-05 01:27:12 UTC (rev 1214) @@ -1,127 +0,0 @@ -dnl Fix Autoconf-2.59 AC_CONFIG_SUBDIRS whitespace mangling, -dnl by overriding the broken internal Autoconf macro with a -dnl backport of the 2.60 fix. -dnl -dnl This file should be a no-op for Autoconf versions != 2.59. -dnl It can be removed once the complete tree has moved to a -dnl newer Autoconf version. - -dnl m4_PACKAGE_VERSION is an undocumented Autoconf macro. -dnl We use it because this fix is intended for 2.59 only. -dnl A feature test for the broken AC_CONFIG_SUBDIRS instead -dnl would be better but is tricky. -dnl -dnl Use ifdef/ifelse over m4_ifdef/m4_ifelse to be clean for 2.13. -dnl Redefine AC_CONFIG_SUBDIRS so aclocal pulls in this file -dnl when needed. - -ifdef([m4_PACKAGE_VERSION], -[ifelse(m4_PACKAGE_VERSION, [2.59], [ - -dnl Redefine AC_CONFIG_SUBDIRS so this file is picked up if needed. -AC_DEFUN([AC_CONFIG_SUBDIRS], defn([AC_CONFIG_SUBDIRS])) - -dnl Override the broken macro. -# _AC_OUTPUT_SUBDIRS -# ------------------ -# This is a subroutine of AC_OUTPUT, but it does not go into -# config.status, rather, it is called after running config.status. -m4_define([_AC_OUTPUT_SUBDIRS], -[ -# -# CONFIG_SUBDIRS section, as fixed in confsubdir.m4. -# -if test "$no_recursion" != yes; then - - # Remove --cache-file and --srcdir arguments so they do not pile up. - ac_sub_configure_args= - ac_prev= - eval "set x $ac_configure_args" - shift - for ac_arg - do - if test -n "$ac_prev"; then - ac_prev= - continue - fi - case $ac_arg in - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ - | --c=*) - ;; - --config-cache | -C) - ;; - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - ;; - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - ;; - *) - case $ac_arg in - *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; - esac - done - - # Always prepend --prefix to ensure using the same prefix - # in subdir configurations. - ac_arg="--prefix=$prefix" - case $ac_arg in - *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - ac_sub_configure_args="$ac_arg $ac_sub_configure_args" - - ac_popdir=`pwd` - for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue - - # Do not complain, so a configure script can configure whichever - # parts of a large source tree are present. - test -d "$srcdir/$ac_dir" || continue - - AC_MSG_NOTICE([configuring in $ac_dir]) - AS_MKDIR_P(["$ac_dir"]) - _AC_SRCPATHS(["$ac_dir"]) - - cd "$ac_dir" - - # Check for guested configure; otherwise get Cygnus style configure. - if test -f "$ac_srcdir/configure.gnu"; then - ac_sub_configure=$ac_srcdir/configure.gnu - elif test -f "$ac_srcdir/configure"; then - ac_sub_configure=$ac_srcdir/configure - elif test -f "$ac_srcdir/configure.in"; then - # This should be Cygnus configure. - ac_sub_configure=$ac_aux_dir/configure - else - AC_MSG_WARN([no configuration information is in $ac_dir]) - ac_sub_configure= - fi - - # The recursion is here. - if test -n "$ac_sub_configure"; then - # Make the cache file name correct relative to the subdirectory. - case $cache_file in - [[\\/]]* | ?:[[\\/]]* ) ac_sub_cache_file=$cache_file ;; - *) # Relative path. - ac_sub_cache_file=$ac_top_builddir$cache_file ;; - esac - - AC_MSG_NOTICE([running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir]) - # The eval makes quoting arguments work. - eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ - --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || - AC_MSG_ERROR([$ac_sub_configure failed for $ac_dir]) - fi - - cd "$ac_popdir" - done -fi -])# _AC_OUTPUT_SUBDIRS -])]) Deleted: trunk/cegcc/src/binutils/config/mh-armpic =================================================================== --- trunk/cegcc/src/binutils/config/mh-armpic 2009-02-05 01:21:13 UTC (rev 1213) +++ trunk/cegcc/src/binutils/config/mh-armpic 2009-02-05 01:27:12 UTC (rev 1214) @@ -1 +0,0 @@ -PICFLAG=-fPIC Deleted: trunk/cegcc/src/binutils/config/mh-elfalphapic =================================================================== --- trunk/cegcc/src/binutils/config/mh-elfalphapic 2009-02-05 01:21:13 UTC (rev 1213) +++ trunk/cegcc/src/binutils/config/mh-elfalphapic 2009-02-05 01:27:12 UTC (rev 1214) @@ -1 +0,0 @@ -PICFLAG=-fPIC Deleted: trunk/cegcc/src/binutils/config/mh-i370pic =================================================================== --- trunk/cegcc/src/binutils/config/mh-i370pic 2009-02-05 01:21:13 UTC (rev 1213) +++ trunk/cegcc/src/binutils/config/mh-i370pic 2009-02-05 01:27:12 UTC (rev 1214) @@ -1 +0,0 @@ -PICFLAG=-fPIC Deleted: trunk/cegcc/src/binutils/config/mh-ia64pic =================================================================== --- trunk/cegcc/src/binutils/config/mh-ia64pic 2009-02-05 01:21:13 UTC (rev 1213) +++ trunk/cegcc/src/binutils/config/mh-ia64pic 2009-02-05 01:27:12 UTC (rev 1214) @@ -1 +0,0 @@ -PICFLAG=-fpic Deleted: trunk/cegcc/src/binutils/config/mh-m68kpic =================================================================== --- trunk/cegcc/src/binutils/config/mh-m68kpic 2009-02-05 01:21:13 UTC (rev 1213) +++ trunk/cegcc/src/binutils/config/mh-m68kpic 2009-02-05 01:27:12 UTC (rev 1214) @@ -1 +0,0 @@ -PICFLAG=-fpic Deleted: trunk/cegcc/src/binutils/config/mh-papic =================================================================== --- trunk/cegcc/src/binutils/config/mh-papic 2009-02-05 01:21:13 UTC (rev 1213) +++ trunk/cegcc/src/binutils/config/mh-papic 2009-02-05 01:27:12 UTC (rev 1214) @@ -1 +0,0 @@ -PICFLAG=-fPIC Deleted: trunk/cegcc/src/binutils/config/mh-ppcpic =================================================================== --- trunk/cegcc/src/binutils/config/mh-ppcpic 2009-02-05 01:21:13 UTC (rev 1213) +++ trunk/cegcc/src/binutils/config/mh-ppcpic 2009-02-05 01:27:12 UTC (rev 1214) @@ -1 +0,0 @@ -PICFLAG=-fPIC Deleted: trunk/cegcc/src/binutils/config/mh-s390pic =================================================================== --- trunk/cegcc/src/binutils/config/mh-s390pic 2009-02-05 01:21:13 UTC (rev 1213) +++ trunk/cegcc/src/binutils/config/mh-s390pic 2009-02-05 01:27:12 UTC (rev 1214) @@ -1 +0,0 @@ -PICFLAG=-fpic Deleted: trunk/cegcc/src/binutils/config/mh-sparcpic =================================================================== --- trunk/cegcc/src/binutils/config/mh-sparcpic 2009-02-05 01:21:13 UTC (rev 1213) +++ trunk/cegcc/src/binutils/config/mh-sparcpic 2009-02-05 01:27:12 UTC (rev 1214) @@ -1 +0,0 @@ -PICFLAG=`case '${LIBCFLAGS} ${LIBCXXFLAGS}' in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac` Deleted: trunk/cegcc/src/binutils/config/mh-x86pic =================================================================== --- trunk/cegcc/src/binutils/config/mh-x86pic 2009-02-05 01:21:13 UTC (rev 1213) +++ trunk/cegcc/src/binutils/config/mh-x86pic 2009-02-05 01:27:12 UTC (rev 1214) @@ -1 +0,0 @@ -PICFLAG=-fpic Deleted: trunk/cegcc/src/binutils/gas/testsuite/gas/ppc/booke_xcoff64.d =================================================================== --- trunk/cegcc/src/binutils/gas/testsuite/gas/ppc/booke_xcoff64.d 2009-02-05 01:21:13 UTC (rev 1213) +++ trunk/cegcc/src/binutils/gas/testsuite/gas/ppc/booke_xcoff64.d 2009-02-05 01:27:12 UTC (rev 1214) @@ -1,125 +0,0 @@ -#as: -a64 -mppc64 -mbooke64 -#objdump: -dr -Mbooke64 -#name: xcoff64 BookE tests - -.*: file format aix5?coff64-rs6000 - -Disassembly of section .text: - -0000000000000000 <.text>: - 0: 7c 22 3f 64 tlbre r1,r2,7 - 4: 7c be 1f a4 tlbwe r5,r30,3 - 8: 24 25 00 30 bce 1,4\*cr1\+gt,38 <.text\+0x38> - c: 24 46 00 3d bcel 2,4\*cr1\+eq,48 <.text\+0x48> - 10: 24 67 00 5a bcea 3,4\*cr1\+so,58 <.text\+0x58> - 12: R_BA_16 .text - 14: 24 88 00 7b bcela 4,4\*cr2\+lt,78 <.text\+0x78> - 16: R_BA_16 .text - 18: 4c a9 00 22 bclre 5,4\*cr2\+gt - 1c: 4c aa 00 23 bclrel 5,4\*cr2\+eq - 20: 4d 0b 04 22 bcctre 8,4\*cr2\+so - 24: 4d 0c 04 23 bcctrel 8,4\*cr3\+lt - 28: 58 00 00 74 be 9c <.text\+0x9c> - 2c: 58 00 00 89 bel b4 <.text\+0xb4> - 30: 58 00 00 f2 bea f0 <.text\+0xf0> - 30: R_BA_26 .text - 34: 58 00 01 27 bela 124 <.text\+0x124> - 34: R_BA_26 .text - 38: e9 09 00 80 lbze r8,8\(r9\) - 3c: e9 8f 00 41 lbzue r12,4\(r15\) - 40: 7c 86 40 fe lbzuxe r4,r6,r8 - 44: 7c 65 38 be lbzxe r3,r5,r7 - 48: f8 a6 06 40 lde r5,400\(r6\) - 4c: f8 c7 07 11 ldue r6,452\(r7\) - 50: 7c e8 4e 3e ldxe r7,r8,r9 - 54: 7d 4b 66 7e lduxe r10,r11,r12 - 58: f9 81 02 06 lfde f12,128\(r1\) - 5c: f8 25 00 47 lfdue f1,16\(r5\) - 60: 7c a1 1c be lfdxe f5,r1,r3 - 64: 7c c2 24 fe lfduxe f6,r2,r4 - 68: f9 09 00 c4 lfse f8,48\(r9\) - 6c: f9 2a 01 15 lfsue f9,68\(r10\) - 70: 7d 44 44 7e lfsuxe f10,r4,r8 - 74: 7d 23 3c 3e lfsxe f9,r3,r7 - 78: e9 45 03 24 lhae r10,50\(r5\) - 7c: e8 23 00 55 lhaue r1,5\(r3\) - 80: 7c a1 1a fe lhauxe r5,r1,r3 - 84: 7f be fa be lhaxe r29,r30,r31 - 88: 7c 22 1e 3c lhbrxe r1,r2,r3 - 8c: e8 83 01 22 lhze r4,18\(r3\) - 90: e8 c9 01 43 lhzue r6,20\(r9\) - 94: 7c a7 4a 7e lhzuxe r5,r7,r9 - 98: 7d 27 2a 3e lhzxe r9,r7,r5 - 9c: 7d 4f a0 fc lwarxe r10,r15,r20 - a0: 7c aa 94 3c lwbrxe r5,r10,r18 - a4: eb 9d 00 46 lwze r28,4\(r29\) - a8: e9 0a 02 87 lwzue r8,40\(r10\) - ac: 7c 66 48 7e lwzuxe r3,r6,r9 - b0: 7f dd e0 3e lwzxe r30,r29,r28 - b4: 7c 06 3d fc dcbae r6,r7 - b8: 7c 08 48 bc dcbfe r8,r9 - bc: 7c 0a 5b bc dcbie r10,r11 - c0: 7c 08 f0 7c dcbste r8,r30 - c4: 7c c3 0a 3c dcbte 6,r3,r1 - c8: 7c a4 11 fa dcbtste 5,r4,r2 - cc: 7c 0f 77 fc dcbze r15,r14 - d0: 7c 03 27 bc icbie r3,r4 - d4: 7c a8 48 2c icbt 5,r8,r9 - d8: 7c ca 78 3c icbte 6,r10,r15 - dc: 7c a6 02 26 mfapidi r5,r6 - e0: 7c 07 46 24 tlbivax r7,r8 - e4: 7c 09 56 26 tlbivaxe r9,r10 - e8: 7c 0b 67 24 tlbsx r11,r12 - ec: 7c 0d 77 26 tlbsxe r13,r14 - f0: 7c 22 1b 14 adde64 r1,r2,r3 - f4: 7c 85 37 14 adde64o r4,r5,r6 - f8: 7c e8 03 d4 addme64 r7,r8 - fc: 7d 2a 07 d4 addme64o r9,r10 - 100: 7d 6c 03 94 addze64 r11,r12 - 104: 7d ae 07 94 addze64o r13,r14 - 108: 7e 80 04 40 mcrxr64 cr5 - 10c: 7d f0 8b 10 subfe64 r15,r16,r17 - 110: 7e 53 a7 10 subfe64o r18,r19,r20 - 114: 7e b6 03 d0 subfme64 r21,r22 - 118: 7e f8 07 d0 subfme64o r23,r24 - 11c: 7f 3a 03 90 subfze64 r25,r26 - 120: 7f 7c 07 90 subfze64o r27,r28 - 124: e8 22 03 28 stbe r1,50\(r2\) - 128: e8 64 02 89 stbue r3,40\(r4\) - 12c: 7c a6 39 fe stbuxe r5,r6,r7 - 130: 7d 09 51 be stbxe r8,r9,r10 - 134: 7d 6c 6b ff stdcxe. r11,r12,r13 - 138: f9 cf 00 78 stde r14,28\(r15\) - 13c: fa 11 00 59 stdue r16,20\(r17\) - 140: 7e 53 a7 3e stdxe r18,r19,r20 - 144: 7e b6 bf 7e stduxe r21,r22,r23 - 148: f8 38 00 3e stfde f1,12\(r24\) - 14c: f8 59 00 0f stfdue f2,0\(r25\) - 150: 7c 7a dd be stfdxe f3,r26,r27 - 154: 7c 9c ed fe stfduxe f4,r28,r29 - 158: 7c be ff be stfiwxe f5,r30,r31 - 15c: f8 de 00 6c stfse f6,24\(r30\) - 160: f8 fd 00 5d stfsue f7,20\(r29\) - 164: 7d 1c dd 3e stfsxe f8,r28,r27 - 168: 7d 3a cd 7e stfsuxe f9,r26,r25 - 16c: 7f 17 b7 3c sthbrxe r24,r23,r22 - 170: ea b4 01 ea sthe r21,30\(r20\) - 174: ea 72 02 8b sthue r19,40\(r18\) - 178: 7e 30 7b 7e sthuxe r17,r16,r15 - 17c: 7d cd 63 3e sthxe r14,r13,r12 - 180: 7d 6a 4d 3c stwbrxe r11,r10,r9 - 184: 7d 07 31 3d stwcxe. r8,r7,r6 - 188: e8 a4 03 2e stwe r5,50\(r4\) - 18c: e8 62 02 8f stwue r3,40\(r2\) - 190: 7c 22 19 7e stwuxe r1,r2,r3 - 194: 7c 85 31 3e stwxe r4,r5,r6 - 198: 4c 00 00 66 rfci - 19c: 7c 60 01 06 wrtee r3 - 1a0: 7c 00 81 46 wrteei 1 - 1a4: 7c 85 02 06 mfdcrx r4,r5 - 1a8: 7c aa 3a 86 mfdcr r5,234 - 1ac: 7c e6 03 06 mtdcrx r6,r7 - 1b0: 7d 10 6b 86 mtdcr 432,r8 - 1b4: 7c 00 04 ac msync - 1b8: 7c 09 55 ec dcba r9,r10 - 1bc: 7c 00 06 ac mbar Deleted: trunk/cegcc/src/binutils/gas/testsuite/gas/ppc/booke_xcoff64.s =================================================================== --- trunk/cegcc/src/binutils/gas/testsuite/gas/ppc/booke_xcoff64.s 2009-02-05 01:21:13 UTC (rev 1213) +++ trunk/cegcc/src/binutils/gas/testsuite/gas/ppc/booke_xcoff64.s 2009-02-05 01:27:12 UTC (rev 1214) @@ -1,136 +0,0 @@ -# Motorola PowerPC BookE tests -#as: -a64 -mppc64 -mbooke64 - .csect .text[PR] - .csect main[DS] -main: - .csect .text[PR] -.main: - tlbre 1, 2, 7 - tlbwe 5, 30, 3 - bce 1, 5, branch_target_1 - bcel 2, 6, branch_target_2 - bcea 3, 7, branch_target_3 - bcela 4, 8, branch_target_4 - bclre 5, 9 - bclrel 5, 10 - bcctre 8, 11 - bcctrel 8, 12 - be branch_target_5 - bel branch_target_6 - bea branch_target_7 - bela branch_target_8 - -branch_target_1: - lbze 8, 8(9) - lbzue 12, 4(15) - lbzuxe 4, 6, 8 - lbzxe 3, 5, 7 - -branch_target_2: - lde 5, 400(6) - ldue 6, 452(7) - ldxe 7, 8, 9 - lduxe 10, 11, 12 - -branch_target_3: - lfde 12, 128(1) - lfdue 1, 16(5) - lfdxe 5, 1, 3 - lfduxe 6, 2, 4 - lfse 8, 48(9) - lfsue 9, 68(10) - lfsuxe 10, 4, 8 - lfsxe 9, 3, 7 - -branch_target_4: - lhae 10, 50(5) - lhaue 1, 5(3) - lhauxe 5, 1, 3 - lhaxe 29, 30, 31 - lhbrxe 1, 2, 3 - lhze 4, 18(3) - lhzue 6, 20(9) - lhzuxe 5, 7, 9 - lhzxe 9, 7, 5 - -branch_target_5: - lwarxe 10, 15, 20 - lwbrxe 5, 10, 18 - lwze 28, 4(29) - lwzue 8, 40(10) - lwzuxe 3, 6, 9 - lwzxe 30, 29, 28 - -branch_target_6: - dcbae 6, 7 - dcbfe 8, 9 - dcbie 10, 11 - dcbste 8, 30 - dcbte 6, 3, 1 - dcbtste 5, 4, 2 - dcbze 15, 14 - icbie 3, 4 - icbt 5, 8, 9 - icbte 6, 10, 15 - mfapidi 5, 6 - tlbivax 7, 8 - tlbivaxe 9, 10 - tlbsx 11, 12 - tlbsxe 13, 14 - -branch_target_7: - adde64 1, 2, 3 - adde64o 4, 5, 6 - addme64 7, 8 - addme64o 9, 10 - addze64 11, 12 - addze64o 13, 14 - mcrxr64 5 - subfe64 15, 16, 17 - subfe64o 18, 19, 20 - subfme64 21, 22 - subfme64o 23, 24 - subfze64 25, 26 - subfze64o 27, 28 - -branch_target_8: - stbe 1, 50(2) - stbue 3, 40(4) - stbuxe 5, 6, 7 - stbxe 8, 9, 10 - stdcxe. 11, 12, 13 - stde 14, 28(15) - stdue 16, 20(17) - stdxe 18, 19, 20 - stduxe 21, 22, 23 - stfde 1, 12(24) - stfdue 2, 0(25) - stfdxe 3, 26, 27 - stfduxe 4, 28, 29 - stfiwxe 5, 30, 31 - stfse 6, 24(30) - stfsue 7, 20(29) - stfsxe 8, 28, 27 - stfsuxe 9, 26, 25 - sthbrxe 24, 23, 22 - sthe 21, 30(20) - sthue 19, 40(18) - sthuxe 17, 16, 15 - sthxe 14, 13, 12 - stwbrxe 11, 10, 9 - stwcxe. 8, 7, 6 - stwe 5, 50(4) - stwue 3, 40(2) - stwuxe 1, 2, 3 - stwxe 4, 5, 6 - - rfci - wrtee 3 - wrteei 1 - mfdcrx 4, 5 - mfdcr 5, 234 - mtdcrx 6, 7 - mtdcr 432, 8 - msync - dcba 9, 10 - mbar 0 Deleted: trunk/cegcc/src/binutils/ld/sha1.c =================================================================== --- trunk/cegcc/src/binutils/ld/sha1.c 2009-02-05 01:21:13 UTC (rev 1213) +++ trunk/cegcc/src/binutils/ld/sha1.c 2009-02-05 01:27:12 UTC (rev 1214) @@ -1,423 +0,0 @@ -/* sha1.c - Functions to compute SHA1 message digest of files or - memory blocks according to the NIST specification FIPS-180-1. - - Copyright (C) 2007 Free Software Foundation, Inc. - - This file is part of the GNU Binutils. - - This program 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 3, or (at your option) any - later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -/* Written by Scott G. Miller - Credits: - Robert Klep <ro...@il...> -- Expansion function fix */ - -#include <config.h> -#include "sha1.h" -#include <stddef.h> -#include <string.h> - -#if USE_UNLOCKED_IO -# include "unlocked-io.h" -#endif - -#ifdef WORDS_BIGENDIAN -# define SWAP(n) (n) -#else -# define SWAP(n) \ - (((n) << 24) | (((n) & 0xff00) << 8) | (((n) >> 8) & 0xff00) | ((n) >> 24)) -#endif - -#define BLOCKSIZE 4096 -#if BLOCKSIZE % 64 != 0 -# error "invalid BLOCKSIZE" -#endif - -/* This array contains the bytes used to pad the buffer to the next - 64-byte boundary. (RFC 1321, 3.1: Step 1) */ -static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ... */ }; - - -/* Take a pointer to a 160 bit block of data (five 32 bit ints) and - initialize it to the start constants of the SHA1 algorithm. This - must be called before using hash in the call to sha1_hash. */ - -void -sha1_init_ctx (struct sha1_ctx *ctx) -{ - ctx->A = 0x67452301; - ctx->B = 0xefcdab89; - ctx->C = 0x98badcfe; - ctx->D = 0x10325476; - ctx->E = 0xc3d2e1f0; - - ctx->total[0] = ctx->total[1] = 0; - ctx->buflen = 0; -} - -/* Put result from CTX in first 20 bytes following RESBUF. The result - must be in little endian byte order. - - IMPORTANT: On some systems it is required that RESBUF is correctly - aligned for a 32-bit value. */ - -void * -sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf) -{ - ((uint32_t *) resbuf)[0] = SWAP (ctx->A); - ((uint32_t *) resbuf)[1] = SWAP (ctx->B); - ((uint32_t *) resbuf)[2] = SWAP (ctx->C); - ((uint32_t *) resbuf)[3] = SWAP (ctx->D); - ((uint32_t *) resbuf)[4] = SWAP (ctx->E); - - return resbuf; -} - -/* Process the remaining bytes in the internal buffer and the usual - prolog according to the standard and write the result to RESBUF. - - IMPORTANT: On some systems it is required that RESBUF is correctly - aligned for a 32-bit value. */ - -void * -sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf) -{ - /* Take yet unprocessed bytes into account. */ - uint32_t bytes = ctx->buflen; - size_t size = (bytes < 56) ? 64 / 4 : 64 * 2 / 4; - - /* Now count remaining bytes. */ - ctx->total[0] += bytes; - if (ctx->total[0] < bytes) - ++ctx->total[1]; - - /* Put the 64-bit file length in *bits* at the end of the buffer. */ - ctx->buffer[size - 2] = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); - ctx->buffer[size - 1] = SWAP (ctx->total[0] << 3); - - memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); - - /* Process last bytes. */ - sha1_process_block (ctx->buffer, size * 4, ctx); - - return sha1_read_ctx (ctx, resbuf); -} - -/* Compute SHA1 message digest for bytes read from STREAM. The - resulting message digest number will be written into the 16 bytes - beginning at RESBLOCK. */ - -int -sha1_stream (FILE *stream, void *resblock) -{ - struct sha1_ctx ctx; - char buffer[BLOCKSIZE + 72]; - size_t sum; - - /* Initialize the computation context. */ - sha1_init_ctx (&ctx); - - /* Iterate over full file contents. */ - while (1) - { - /* We read the file in blocks of BLOCKSIZE bytes. One call of the - computation function processes the whole buffer so that with the - next round of the loop another block can be read. */ - size_t n; - sum = 0; - - /* Read block. Take care for partial reads. */ - while (1) - { - n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream); - - sum += n; - - if (sum == BLOCKSIZE) - break; - - if (n == 0) - { - /* Check for the error flag IFF N == 0, so that we don't - exit the loop after a partial read due to e.g., EAGAIN - or EWOULDBLOCK. */ - if (ferror (stream)) - return 1; - goto process_partial_block; - } - - /* We've read at least one byte, so ignore errors. But always - check for EOF, since feof may be true even though N > 0. - Otherwise, we could end up calling fread after EOF. */ - if (feof (stream)) - goto process_partial_block; - } - - /* Process buffer with BLOCKSIZE bytes. Note that - BLOCKSIZE % 64 == 0. */ - sha1_process_block (buffer, BLOCKSIZE, &ctx); - } - - process_partial_block:; - - /* Process any remaining bytes. */ - if (sum > 0) - sha1_process_bytes (buffer, sum, &ctx); - - /* Construct result in desired memory. */ - sha1_finish_ctx (&ctx, resblock); - return 0; -} - -/* Compute SHA1 message digest for LEN bytes beginning at BUFFER. The - result is always in little endian byte order, so that a byte-wise - output yields to the wanted ASCII representation of the message - digest. */ - -void * -sha1_buffer (const char *buffer, size_t len, void *resblock) -{ - struct sha1_ctx ctx; - - /* Initialize the computation context. */ - sha1_init_ctx (&ctx); - - /* Process whole buffer but last len % 64 bytes. */ - sha1_process_bytes (buffer, len, &ctx); - - /* Put result in desired memory area. */ - return sha1_finish_ctx (&ctx, resblock); -} - -void -sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx) -{ - /* When we already have some bits in our internal buffer concatenate - both inputs first. */ - if (ctx->buflen != 0) - { - size_t left_over = ctx->buflen; - size_t add = 128 - left_over > len ? len : 128 - left_over; - - memcpy (&((char *) ctx->buffer)[left_over], buffer, add); - ctx->buflen += add; - - if (ctx->buflen > 64) - { - sha1_process_block (ctx->buffer, ctx->buflen & ~63, ctx); - - ctx->buflen &= 63; - /* The regions in the following copy operation cannot overlap. */ - memcpy (ctx->buffer, - &((char *) ctx->buffer)[(left_over + add) & ~63], - ctx->buflen); - } - - buffer = (const char *) buffer + add; - len -= add; - } - - /* Process available complete blocks. */ - if (len >= 64) - { -#if !_STRING_ARCH_unaligned -# define alignof(type) offsetof (struct { char c; type x; }, x) -# define UNALIGNED_P(p) (((size_t) p) % alignof (uint32_t) != 0) - if (UNALIGNED_P (buffer)) - while (len > 64) - { - sha1_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); - buffer = (const char *) buffer + 64; - len -= 64; - } - else -#endif - { - sha1_process_block (buffer, len & ~63, ctx); - buffer = (const char *) buffer + (len & ~63); - len &= 63; - } - } - - /* Move remaining bytes in internal buffer. */ - if (len > 0) - { - size_t left_over = ctx->buflen; - - memcpy (&((char *) ctx->buffer)[left_over], buffer, len); - left_over += len; - if (left_over >= 64) - { - sha1_process_block (ctx->buffer, 64, ctx); - left_over -= 64; - memcpy (ctx->buffer, &ctx->buffer[16], left_over); - } - ctx->buflen = left_over; - } -} - -/* --- Code below is the primary difference between md5.c and sha1.c --- */ - -/* SHA1 round constants. */ -#define K1 0x5a827999 -#define K2 0x6ed9eba1 -#define K3 0x8f1bbcdc -#define K4 0xca62c1d6 - -/* Round functions. Note that F2 is the same as F4. */ -#define F1(B,C,D) (D ^ (B & (C ^ D))) -#define F2(B,C,D) (B ^ C ^ D) -#define F3(B,C,D) ((B & C) | (D & (B | C))) -#define F4(B,C,D) (B ^ C ^ D) - -/* Process LEN bytes of BUFFER, accumulating context into CTX. - It is assumed that LEN % 64 == 0. - Most of this code comes from GnuPG's cipher/sha1.c. */ - -void -sha1_process_block (const void *buffer, size_t len, struct sha1_ctx *ctx) -{ - const uint32_t *words = buffer; - size_t nwords = len / sizeof (uint32_t); - const uint32_t *endp = words + nwords; - uint32_t x[16]; - uint32_t a = ctx->A; - uint32_t b = ctx->B; - uint32_t c = ctx->C; - uint32_t d = ctx->D; - uint32_t e = ctx->E; - - /* First increment the byte count. RFC 1321 specifies the possible - length of the file up to 2^64 bits. Here we only compute the - number of bytes. Do a double word increment. */ - ctx->total[0] += len; - if (ctx->total[0] < len) - ++ctx->total[1]; - -#define rol(x, n) (((x) << (n)) | ((uint32_t) (x) >> (32 - (n)))) - -#define M(I) (tm = x[I & 0x0f] ^ x[(I - 14) & 0x0f] \ - ^ x[(I - 8) & 0x0f] ^ x[(I - 3) & 0x0f] \ - , (x[I & 0x0f] = rol (tm, 1))) - -#define R(A,B,C,D,E,F,K,M) \ - do \ - { \ - E += rol (A, 5) \ - + F (B, C, D) \ - + K \ - + M; \ - B = rol (B, 30); \ - } \ - while (0) - - while (words < endp) - { - uint32_t tm; - int t; - - for (t = 0; t < 16; t++) - { - x[t] = SWAP (*words); - words++; - } - - R (a, b, c, d, e, F1, K1, x[ 0]); - R (e, a, b, c, d, F1, K1, x[ 1]); - R (d, e, a, b, c, F1, K1, x[ 2]); - R (c, d, e, a, b, F1, K1, x[ 3]); - R (b, c, d, e, a, F1, K1, x[ 4]); - R (a, b, c, d, e, F1, K1, x[ 5]); - R (e, a, b, c, d, F1, K1, x[ 6]); - R (d, e, a, b, c, F1, K1, x[ 7]); - R (c, d, e, a, b, F1, K1, x[ 8]); - R (b, c, d, e, a, F1, K1, x[ 9]); - R (a, b, c, d, e, F1, K1, x[10]); - R (e, a, b, c, d, F1, K1, x[11]); - R (d, e, a, b, c, F1, K1, x[12]); - R (c, d, e, a, b, F1, K1, x[13]); - R (b, c, d, e, a, F1, K1, x[14]); - R (a, b, c, d, e, F1, K1, x[15]); - R (e, a, b, c, d, F1, K1, M(16)); - R (d, e, a, b, c, F1, K1, M(17)); - R (c, d, e, a, b, F1, K1, M(18)); - R (b, c, d, e, a, F1, K1, M(19)); - R (a, b, c, d, e, F2, K2, M(20)); - R (e, a, b, c, d, F2, K2, M(21)); - R (d, e, a, b, c, F2, K2, M(22)); - R (c, d, e, a, b, F2, K2, M(23)); - R (b, c, d, e, a, F2, K2, M(24)); - R (a, b, c, d, e, F2, K2, M(25)); - R (e, a, b, c, d, F2, K2, M(26)); - R (d, e, a, b, c, F2, K2, M(27)); - R (c, d, e, a, b, F2, K2, M(28)); - R (b, c, d, e, a, F2, K2, M(29)); - R (a, b, c, d, e, F2, K2, M(30)); - R (e, a, b, c, d, F2, K2, M(31)); - R (d, e, a, b, c, F2, K2, M(32)); - R (c, d, e, a, b, F2, K2, M(33)); - R (b, c, d, e, a, F2, K2, M(34)); - R (a, b, c, d, e, F2, K2, M(35)); - R (e, a, b, c, d, F2, K2, M(36)); - R (d, e, a, b, c, F2, K2, M(37)); - R (c, d, e, a, b, F2, K2, M(38)); - R (b, c, d, e, a, F2, K2, M(39)); - R (a, b, c, d, e, F3, K3, M(40)); - R (e, a, b, c, d, F3, K3, M(41)); - R (d, e, a, b, c, F3, K3, M(42)); - R (c, d, e, a, b, F3, K3, M(43)); - R (b, c, d, e, a, F3, K3, M(44)); - R (a, b, c, d, e, F3, K3, M(45)); - R (e, a, b, c, d, F3, K3, M(46)); - R (d, e, a, b, c, F3, K3, M(47)); - R (c, d, e, a, b, F3, K3, M(48)); - R (b, c, d, e, a, F3, K3, M(49)); - R (a, b, c, d, e, F3, K3, M(50)); - R (e, a, b, c, d, F3, K3, M(51)); - R (d, e, a, b, c, F3, K3, M(52)); - R (c, d, e, a, b, F3, K3, M(53)); - R (b, c, d, e, a, F3, K3, M(54)); - R (a, b, c, d, e, F3, K3, M(55)); - R (e, a, b, c, d, F3, K3, M(56)); - R (d, e, a, b, c, F3, K3, M(57)); - R (c, d, e, a, b, F3, K3, M(58)); - R (b, c, d, e, a, F3, K3, M(59)); - R (a, b, c, d, e, F4, K4, M(60)); - R (e, a, b, c, d, F4, K4, M(61)); - R (d, e, a, b, c, F4, K4, M(62)); - R (c, d, e, a, b, F4, K4, M(63)); - R (b, c, d, e, a, F4, K4, M(64)); - R (a, b, c, d, e, F4, K4, M(65)); - R (e, a, b, c, d, F4, K4, M(66)); - R (d, e, a, b, c, F4, K4, M(67)); - R (c, d, e, a, b, F4, K4, M(68)); - R (b, c, d, e, a, F4, K4, M(69)); - R (a, b, c, d, e, F4, K4, M(70)); - R (e, a, b, c, d, F4, K4, M(71)); - R (d, e, a, b, c, F4, K4, M(72)); - R (c, d, e, a, b, F4, K4, M(73)); - R (b, c, d, e, a, F4, K4, M(74)); - R (a, b, c, d, e, F4, K4, M(75)); - R (e, a, b, c, d, F4, K4, M(76)); - R (d, ... [truncated message content] |
From: <ped...@us...> - 2009-02-04 23:43:56
|
Revision: 1212 http://cegcc.svn.sourceforge.net/cegcc/?rev=1212&view=rev Author: pedroalves Date: 2009-02-04 23:43:47 +0000 (Wed, 04 Feb 2009) Log Message: ----------- Fixup, again. Modified Paths: -------------- trunk/cegcc/src/binutils/ChangeLog.ce Modified: trunk/cegcc/src/binutils/ChangeLog.ce =================================================================== --- trunk/cegcc/src/binutils/ChangeLog.ce 2009-02-04 19:54:59 UTC (rev 1211) +++ trunk/cegcc/src/binutils/ChangeLog.ce 2009-02-04 23:43:47 UTC (rev 1212) @@ -1,10 +1,14 @@ 2008-12-19 mosfet <fo...@sm...> - * binutils/rcparse.y: Allow extra comma at the end of data lists. + binutils/ + * rcparse.y: Allow extra comma at the end of data lists. + 2008-11-27 Klaus Rechert <kl...@re...> - * binutils/dlltool.c, binutils/windmc.c: remove compiler warnings that - break the build on Ubuntu. + binutils/ + * dlltool.c, windmc.c: Remove compiler warnings that break the + build on Ubuntu. + 2008-09-24 Pedro Alves <ped...@us...> ld/ @@ -13,6 +17,7 @@ 2008-03-29 Danny Backx <dan...@us...> + bfd/ * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to print compressed pdata structure as described on MSDN. This only applies to a limited set of architectures (ARM, SH4). This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-02-04 19:55:04
|
Revision: 1211 http://cegcc.svn.sourceforge.net/cegcc/?rev=1211&view=rev Author: dannybackx Date: 2009-02-04 19:54:59 +0000 (Wed, 04 Feb 2009) Log Message: ----------- Delete the gcc 4.3.2 directory tree. Removed Paths: ------------- trunk/cegcc/src/gcc-4.3.2/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-02-01 15:06:59
|
Revision: 1210 http://cegcc.svn.sourceforge.net/cegcc/?rev=1210&view=rev Author: dannybackx Date: 2009-02-01 15:06:56 +0000 (Sun, 01 Feb 2009) Log Message: ----------- UUID stuff from Ryan Raasch Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/bdatypes.h trunk/cegcc/src/w32api/include/dshow.h trunk/cegcc/src/w32api/include/strmif.h Added Paths: ----------- trunk/cegcc/src/w32api/libce/directx/ trunk/cegcc/src/w32api/libce/directx/strmiids.c Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2009-01-28 20:30:50 UTC (rev 1209) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2009-02-01 15:06:56 UTC (rev 1210) @@ -1,5 +1,11 @@ -2009-01.28 Ryan Raasch <rya...@gm...> +2009-02-01 Ryan Raasch <rya...@gm...> + * libce/directx/strmiids.c : New file, copy from src/lib/directx. + * include/bdatypes.h, include/dshow.h, include/strmif.h : Make the + UUIDs extern so executables can link. + +2009-01-28 Ryan Raasch <rya...@gm...> + * libce/coredll.def, include/winbase.h : Add various definitions to support EnumDeviceInterfaces, EnumDevices, FindFirstDevice, FindNextDevice, GetDeviceInformationByDeviceHandle, Modified: trunk/cegcc/src/w32api/include/bdatypes.h =================================================================== --- trunk/cegcc/src/w32api/include/bdatypes.h 2009-01-28 20:30:50 UTC (rev 1209) +++ trunk/cegcc/src/w32api/include/bdatypes.h 2009-02-01 15:06:56 UTC (rev 1210) @@ -17,9 +17,9 @@ } MEDIA_SAMPLE_CONTENT; /*--- DirectShow Reference - DirectShow Structures */ typedef struct { - DWORD dwOffset - DWORD dwPacketLength - DWORD dwStride + DWORD dwOffset; + DWORD dwPacketLength; + DWORD dwStride; } MPEG2_TRANSPORT_STRIDE; typedef struct { ULONG ulPID; Modified: trunk/cegcc/src/w32api/include/dshow.h =================================================================== --- trunk/cegcc/src/w32api/include/dshow.h 2009-01-28 20:30:50 UTC (rev 1209) +++ trunk/cegcc/src/w32api/include/dshow.h 2009-02-01 15:06:56 UTC (rev 1210) @@ -5,8 +5,8 @@ #endif #include <strmif.h> -#include <amaudio.h> -#include <amvideo.h> +//#include <amaudio.h> +//#include <amvideo.h> #include <evcode.h> #include <audevcod.h> #include <dvdevcod.h> @@ -17,7 +17,7 @@ #include <bdatypes.h> #include <dvdmedia.h> #include <il21dec.h> -#include <ddraw.h> /* DDSCAPS2, DDPIXELFORMAT */ +//#include <ddraw.h> /* DDSCAPS2, DDPIXELFORMAT */ #ifndef _WINGDI_H #include <wingdi.h> /* BITMAPINFOHEADER */ #endif @@ -76,7 +76,7 @@ LPVOID pOutputData; DWORD dwSizeOutputData; } AMVABeginFrameInfo,*LPAMVABeginFrameInfo; -typedef struct _tag_AMVACompBufferInfo{ +/*typedef struct _tag_AMVACompBufferInfo{ DWORD dwNumCompBuffers; DWORD dwWidthToCreate; DWORD dwHeightToCreate; @@ -84,6 +84,7 @@ DDSCAPS2 ddCompCaps; DDPIXELFORMAT ddPixelFormat; } AMVACompBufferInfo,*LPAMVACompBufferInfo; +*/ typedef struct _tag_AMVAEndFrameInfo{ DWORD dwSizeMiscData; LPVOID pMiscData; @@ -91,17 +92,18 @@ typedef struct _tag_AMVAInternalMemInfo{ DWORD dwScratchMemAlloc; } AMVAInternalMemInfo,*LPAMVAInternalMemInfo; -typedef struct _tag_AMVAUncompBufferInfo{ +/*typedef struct _tag_AMVAUncompBufferInfo{ DWORD dwMinNumSurfaces; DWORD dwMaxNumSurfaces; DDPIXELFORMAT ddUncompPixelFormat; } AMVAUncompBufferInfo,*LPAMVAUncompBufferInfo; - typedef struct _tag_AMVAUncompDataInfo{ +*/ +/*typedef struct _tag_AMVAUncompDataInfo{ DWORD dwUncompWidth; DWORD dwUncompHeight; DDPIXELFORMAT ddUncompPixelFormat; } AMVAUncompDataInfo,*LPAMVAUncompDataInfo; - +*/ #ifdef __cplusplus } #endif Modified: trunk/cegcc/src/w32api/include/strmif.h =================================================================== --- trunk/cegcc/src/w32api/include/strmif.h 2009-01-28 20:30:50 UTC (rev 1209) +++ trunk/cegcc/src/w32api/include/strmif.h 2009-02-01 15:06:56 UTC (rev 1210) @@ -4,6 +4,8 @@ #pragma GCC system_header #endif +#include <ocidl.h> + #ifdef __cplusplus extern "C" { #endif @@ -12,8 +14,17 @@ #define TVAUDIO_MODE_MASK 0x000000FF #define TVAUDIO_PRESET_MASK 0x0000FF00 /*--- DirectShow Reference - DirectShow Data Types */ +/* REFERENCE http://msdn.microsoft.com/en-us/library/ms783328(VS.85).aspx */ +typedef LONG_PTR OAEVENT; +typedef LONG_PTR OAHWND; typedef LONGLONG REFERENCE_TIME; typedef double REFTIME; +typedef long OAFilterState; + +/* http://msdn.microsoft.com/en-us/library/ms708770(VS.85).aspx */ +typedef unsigned int HEVENT; +typedef HANDLE HSEMAPHORE; + /*--- DirectShow Reference - Constants and GUIDs */ enum { MERIT_PREFERRED = 0x800000, @@ -407,9 +418,9 @@ DVENCODERVIDEOFORMAT_PAL = 2001 } DVENCODERVIDEOFORMAT; typedef enum _FilterState { - State_Stopped, - State_Paused, - State_Running + State_Stopped, + State_Paused, + State_Running } FILTER_STATE; typedef enum { INTERLEAVE_NONE, @@ -731,10 +742,13 @@ #define CK_NOCOLORKEY 0x00000000 #define CK_INDEX 0x00000001 #define CK_RGB 0x00000002 -typedef struct { + /*typedef struct { DWORD dw1; DWORD dw2; } DDCOLORKEY; +typedef DDCOLORKEY *LPDDCOLORKEY; + */ + typedef struct tagDVD_AudioAttributes { DVD_AUDIO_APPMODE AppMode; DVD_AUDIO_FORMAT AudioFormat; @@ -889,9 +903,9 @@ } NORMALIZEDRECT,*PNORMALIZEDRECT; #define MAX_PIN_NAME 128 typedef struct _PinInfo { - IBaseFilter *pFilter; - PIN_DIRECTION dir; - WCHAR achName[MAX_PIN_NAME]; + struct IBaseFilter *pFilter; + PIN_DIRECTION dir; + WCHAR achName[MAX_PIN_NAME]; } PIN_INFO; typedef struct{ QualityMessageType Type; @@ -985,6 +999,7 @@ LONG MinBitsPerSecond; LONG MaxBitsPerSecond; } VIDEO_STREAM_CONFIG_CAPS; +/********** typedef struct tagVMRALLOCATIONINFO { DWORD dwFlags; LPBITMAPINFOHEADER lpHdr; @@ -995,6 +1010,7 @@ DWORD dwInterlaceFlags; SIZE szNativeSize; } VMRALLOCATIONINFO; +***********/ /********** typedef struct _VMRALPHABITMAP { DWORD dwFlags; @@ -1023,8 +1039,8 @@ DWORD dwDenominator; } VMRFrequency; typedef struct tagVMRGUID { - GUID *pGUID; - GUID GUID; + LPGUID pGUID; + _GUID GUID; } VMRGUID; typedef struct tagVMRMONITORINFO { VMRGUID guid; @@ -1067,7 +1083,9 @@ NORMALIZEDRECT rNormal; } VMRVIDEOSTREAMINFO; **********/ + /*--- DirectShow Reference - Interfaces */ +EXTERN_C const IID IID_IAMAnalogVideoDecoder; #define INTERFACE IAMAnalogVideoDecoder DECLARE_INTERFACE_(IAMAnalogVideoDecoder, IUnknown) { @@ -1085,6 +1103,8 @@ STDMETHOD_(HRESULT,put_VCRHorizontalLocking)(THIS_ long) PURE; }; #undef INTERFACE + +EXTERN_C const IID IID_IAMAudioInputMixer; #define INTERFACE IAMAudioInputMixer DECLARE_INTERFACE_(IAMAudioInputMixer, IUnknown) { @@ -1109,6 +1129,8 @@ STDMETHOD_(HRESULT,put_Treble)(THIS_ double) PURE; }; #undef INTERFACE + +EXTERN_C const IID IID_IAMAudioRendererStats; #define INTERFACE IAMAudioRendererStats DECLARE_INTERFACE_(IAMAudioRendererStats, IUnknown) { @@ -1118,6 +1140,8 @@ STDMETHOD_(HRESULT,GetStatParam)(THIS_ DWORD,DWORD*,DWORD*) PURE; }; #undef INTERFACE + +EXTERN_C const IID IID_IAMBufferNegotiation; #define INTERFACE IAMBufferNegotiation DECLARE_INTERFACE_(IAMBufferNegotiation, IUnknown) { @@ -1128,6 +1152,8 @@ STDMETHOD_(HRESULT,SuggestAllocatorProperties)(THIS_ const ALLOCATOR_PROPERTIES*) PURE; }; #undef INTERFACE + +EXTERN_C const IID IID_IAMCameraControl; #define INTERFACE IAMCameraControl DECLARE_INTERFACE_(IAMCameraControl, IUnknown) { @@ -1140,6 +1166,7 @@ }; #undef INTERFACE +EXTERN_C const IID IID_IAMCertifiedOutputProtection; #define INTERFACE IAMCertifiedOutputProtection DECLARE_INTERFACE_(IAMCertifiedOutputProtection, IUnknown) { @@ -1153,6 +1180,407 @@ }; #undef INTERFACE +/* NEW INTERFACES FOR DIRECTSHOW */ +/* REFERENCE http://msdn.microsoft.com/en-us/library/dd390343(VS.85).aspx */ +EXTERN_C const IID IID_IReferenceClock; +#define INTERFACE IReferenceClock +DECLARE_INTERFACE_(IReferenceClock, IUnknown) +{ + STDMETHOD(QueryInterface) (THIS_ REFIID,PVOID*) PURE; + STDMETHOD_(ULONG, AddRef) (THIS) PURE; + STDMETHOD_(ULONG, Release) (THIS) PURE; + STDMETHOD_(HRESULT, GetTime) (THIS_ REFERENCE_TIME*) PURE; + STDMETHOD_(HRESULT, AdviseTime) (THIS_ REFERENCE_TIME, REFERENCE_TIME, HEVENT, DWORD*) PURE; + STDMETHOD_(HRESULT, AdvisePeriodicTime) (THIS_ REFERENCE_TIME, REFERENCE_TIME, HSEMAPHORE, DWORD*) PURE; + STDMETHOD_(HRESULT, Unadvise) (THIS_ DWORD ) PURE; +}; +#undef INTERFACE + +EXTERN_C const IID IID_IPin; +#define INTERFACE IPin +DECLARE_INTERFACE_(IPin, IUnknown) +{ + STDMETHOD(QueryInterface) (THIS_ REFIID,PVOID*) PURE; + STDMETHOD_(ULONG, AddRef) (THIS) PURE; + STDMETHOD_(ULONG, Release) (THIS) PURE; + STDMETHOD_(HRESULT,Connect) (THIS_ IPin *, AM_MEDIA_TYPE *) PURE; + STDMETHOD_(HRESULT,ReceiveConnection) (THIS_ IPin *, const AM_MEDIA_TYPE *) PURE; + STDMETHOD_(HRESULT,Disconnect) (THIS) PURE; + STDMETHOD_(HRESULT,ConnectedTo) (THIS_ IPin **) PURE; + STDMETHOD_(HRESULT,ConnectionMediaType) (THIS_ AM_MEDIA_TYPE * pmt) PURE; + STDMETHOD_(HRESULT,QueryPinInfo) (THIS_ PIN_INFO *) PURE; + STDMETHOD_(HRESULT,QueryDirection) (THIS_ PIN_DIRECTION *) PURE; + STDMETHOD_(HRESULT,QueryId) (THIS_ unsigned short **) PURE; + STDMETHOD_(HRESULT,QueryAccept) (THIS_ const AM_MEDIA_TYPE *) PURE; + STDMETHOD_(HRESULT,EnumMediaTypes) (THIS_ struct IEnumMediaTypes **) PURE; + STDMETHOD_(HRESULT,QueryInternalConnections) (THIS_ IPin **, unsigned long *) PURE; + STDMETHOD_(HRESULT,EndOfStream) (THIS) PURE; + STDMETHOD_(HRESULT,BeginFlush) (THIS) PURE; + STDMETHOD_(HRESULT,EndFlush) (THIS) PURE; + STDMETHOD_(HRESULT,NewSegment) (THIS_ REFERENCE_TIME, REFERENCE_TIME, double) PURE; +}; +#undef INTERFACE + +EXTERN_C const IID IID_IBaseFilter; +#define INTERFACE IBaseFilter +DECLARE_INTERFACE_(IBaseFilter, IUnknown) +{ + STDMETHOD(QueryInterface) (THIS_ REFIID,PVOID*) PURE; + STDMETHOD_(ULONG, AddRef) (THIS) PURE; + STDMETHOD_(ULONG, Release) (THIS) PURE; + STDMETHOD_(HRESULT,GetClassID) (THIS_ CLSID * pClassID) PURE; + STDMETHOD_(HRESULT,Stop) (THIS) PURE; + STDMETHOD_(HRESULT,Pause) (THIS) PURE; + STDMETHOD_(HRESULT,Run) (THIS_ REFERENCE_TIME tStart) PURE; + STDMETHOD_(HRESULT,GetState) (THIS_ unsigned long, void *) PURE; + STDMETHOD_(HRESULT,SetSyncSource) (THIS_ struct IReferenceClock*) PURE; + STDMETHOD_(HRESULT,GetSyncSource) (THIS_ struct IReferenceClock**) PURE; + STDMETHOD_(HRESULT,EnumPins) (THIS_ struct IEnumPins **) PURE; + STDMETHOD_(HRESULT,FindPin) (THIS_ const unsigned short *, struct IPin *) PURE; + STDMETHOD_(HRESULT,QueryFilterInfo) (THIS_ void *) PURE; + STDMETHOD_(HRESULT,JoinFilterGraph) (THIS_ struct IFilterGraph *, const unsigned short *) PURE; + STDMETHOD_(HRESULT,QueryVendorInfo) (THIS_ unsigned short **) PURE; +}; +#undef INTERFACE + +EXTERN_C const IID IID_IAMTVTuner; +#define INTERFACE IAMTVTuner +DECLARE_INTERFACE_(IAMTVTuner, IUnknown) +{ + STDMETHOD(QueryInterface) (THIS_ REFIID,PVOID*) PURE; + STDMETHOD_(ULONG, AddRef) (THIS) PURE; + STDMETHOD_(ULONG, Release) (THIS) PURE; + STDMETHOD_(HRESULT,put_Channel) (THIS_ long, long, long) PURE; + STDMETHOD_(HRESULT,get_Channel) (THIS_ long *, long *, long *) PURE; + STDMETHOD_(HRESULT,ChannelMinMax) (THIS_ long *, long *) PURE; + STDMETHOD_(HRESULT,put_CountryCode) (THIS_ long) PURE; + STDMETHOD_(HRESULT,get_CountryCode) (THIS_ long *) PURE; + STDMETHOD_(HRESULT,put_TuningSpace) (THIS_ long) PURE; + STDMETHOD_(HRESULT,get_TuningSpace) (THIS_ long *) PURE; + STDMETHOD_(HRESULT,Logon) (THIS_ HANDLE) PURE; + STDMETHOD_(HRESULT,Logout) (IAMTVTuner *) PURE; + STDMETHOD_(HRESULT,SignalPresen) (THIS_ long *) PURE; + STDMETHOD_(HRESULT,put_Mode) (THIS_ AMTunerModeType) PURE; + STDMETHOD_(HRESULT,get_Mode) (THIS_ AMTunerModeType *) PURE; + STDMETHOD_(HRESULT,GetAvailableModes) (THIS_ long *) PURE; +/****** NOT IMPLEMENTED + STDMETHOD_(HRESULT,RegisterNotificationCallBack) (THIS_ struct IAMTunerNotification*, long) PURE; + STDMETHOD_(HRESULT,UnRegisterNotificationCallBack) (THIS_ struct IAMTunerNotification*) PURE; +*******/ + STDMETHOD_(HRESULT,get_AvailableTVFormats) (THIS_ long *) PURE; + STDMETHOD_(HRESULT,get_TVFormat) (THIS_ long *) PURE; + STDMETHOD_(HRESULT,AutoTune) (THIS_ long, long *) PURE; + STDMETHOD_(HRESULT,StoreAutoTune) (IAMTVTuner *) PURE; + STDMETHOD_(HRESULT,get_NumInputConnections) (THIS_ long *) PURE; + STDMETHOD_(HRESULT,put_InputType) (THIS_ long, TunerInputType) PURE; + STDMETHOD_(HRESULT,get_InputType) (THIS_ long, TunerInputType *) PURE; + STDMETHOD_(HRESULT,put_ConnectInput) (THIS_ long) PURE; + STDMETHOD_(HRESULT,get_ConnectInput) (THIS_ long *) PURE; + STDMETHOD_(HRESULT,get_VideoFrequency) (THIS_ long *) PURE; + STDMETHOD_(HRESULT,get_AudioFrequency) (THIS_ long *) PURE; +}; +#undef INTERFACE + +EXTERN_C const IID IID_IMediaControl; +#define INTERFACE IMediaControl +DECLARE_INTERFACE_(IMediaControl, IUnknown) +{ + STDMETHOD(QueryInterface) (THIS_ REFIID,PVOID*); + STDMETHOD_(ULONG, AddRef) (THIS) PURE; + STDMETHOD_(ULONG, Release) (THIS) PURE; + STDMETHOD_(HRESULT,GetTypeInfoCount) (THIS_ UINT *) PURE; + STDMETHOD_(HRESULT,GetTypeInfo) (THIS_ UINT, LCID, LPTYPEINFO *) PURE; + STDMETHOD_(HRESULT,GetIDsOfNames) (THIS_ REFIID, LPOLESTR *, UINT, LCID, + DISPID *) PURE; + STDMETHOD_(HRESULT,Invoke) (THIS_ DISPID, REFIID, LCID, WORD, DISPPARAMS*, + VARIANT *, EXCEPINFO *, UINT *) PURE; + STDMETHOD_(HRESULT,Run) (THIS) PURE; + STDMETHOD_(HRESULT,Pause) (THIS) PURE; + STDMETHOD_(HRESULT,Stop) (THIS) PURE; + STDMETHOD_(HRESULT,GetState) (THIS_ LONG, OAFilterState *) PURE; + STDMETHOD_(HRESULT,RenderFile) (THIS_ BSTR) PURE; + STDMETHOD_(HRESULT,AddSourceFilter) (THIS_ BSTR, LPDISPATCH *) PURE; + STDMETHOD_(HRESULT,get_FilterCollection) (THIS_ LPDISPATCH *) PURE; + STDMETHOD_(HRESULT,get_RegFilterCollection) (THIS_ LPDISPATCH *) PURE; + STDMETHOD_(HRESULT,StopWhenReady) (IMediaControl *) PURE; +}; +#undef INTERFACE + +EXTERN_C const IID IID_IGraphBuilder; +#define INTERFACE IGraphBuilder +DECLARE_INTERFACE_(IGraphBuilder, IUnknown) +{ + STDMETHOD(QueryInterface) (THIS_ REFIID,PVOID*) PURE; + STDMETHOD_(ULONG, AddRef) (THIS) PURE; + STDMETHOD_(ULONG, Release) (THIS) PURE; + STDMETHOD_(HRESULT,AddFilter) (THIS_ IBaseFilter *, LPCWSTR) PURE; + STDMETHOD_(HRESULT,RemoveFilter) (THIS_ IBaseFilter *) PURE; + STDMETHOD_(HRESULT,EnumFilters) (THIS_ struct IEnumFilters **) PURE; + STDMETHOD_(HRESULT,FindFilterByName) (THIS_ LPCWSTR, IBaseFilter **) PURE; + STDMETHOD_(HRESULT,ConnectDirect) (THIS_ IPin *, IPin *, const AM_MEDIA_TYPE *) PURE; + STDMETHOD_(HRESULT,Reconnect) (THIS_ IPin *) PURE; + STDMETHOD_(HRESULT,Disconnect) (THIS_ IPin *) PURE; + STDMETHOD_(HRESULT,SetDefaultSyncSource) (IGraphBuilder *) PURE; + STDMETHOD_(HRESULT,Connect) (THIS_ IPin *, IPin *) PURE; + STDMETHOD_(HRESULT,Render) (THIS_ IPin *) PURE; + STDMETHOD_(HRESULT,RenderFile) (THIS_ LPCWSTR, LPCWSTR) PURE; + STDMETHOD_(HRESULT,AddSourceFilter) (THIS_ LPCWSTR, LPCWSTR, IBaseFilter **) PURE; + STDMETHOD_(HRESULT,SetLogFile) (THIS_ DWORD_PTR) PURE; + STDMETHOD_(HRESULT,Abort) (IGraphBuilder *) PURE; + STDMETHOD_(HRESULT,ShouldOperationContinue) (IGraphBuilder *) PURE; +}; +#undef INTERFACE + +EXTERN_C const IID IID_IFileSinkFilter; +#define INTERFACE IFileSinkFilter +DECLARE_INTERFACE_(IFileSinkFilter, IUnknown) +{ + STDMETHOD(QueryInterface) (THIS_ REFIID,PVOID*); + STDMETHOD_(ULONG, AddRef) (THIS); + STDMETHOD_(ULONG, Release) (THIS) PURE; + STDMETHOD_(HRESULT,SetFileName) (THIS_ LPCOLESTR, const AM_MEDIA_TYPE *) PURE; + STDMETHOD_(HRESULT,GetCurFile) (THIS_ LPCOLESTR*, const AM_MEDIA_TYPE *) PURE; +}; +#undef INTERFACE + +EXTERN_C const IID IID_IAMCopyCaptureFileProgress; +#define INTERFACE IAMCopyCaptureFileProgress +DECLARE_INTERFACE_(IAMCopyCaptureFileProgress, IUnknown) +{ + STDMETHOD(QueryInterface) (THIS_ REFIID,PVOID*); + STDMETHOD_(ULONG, AddRef) (THIS); + STDMETHOD_(ULONG, Release) (THIS) PURE; + STDMETHOD_(HRESULT, Progress) (THIS_ int ) PURE; +}; +#undef INTERFACE + +EXTERN_C const IID IID_ICaptureGraphBuilder2; +#define INTERFACE ICaptureGraphBuilder2 +DECLARE_INTERFACE_(ICaptureGraphBuilder2, IUnknown) +{ + STDMETHOD(QueryInterface) (THIS_ REFIID,PVOID*); + STDMETHOD_(ULONG, AddRef) (THIS); + STDMETHOD_(ULONG, Release) (THIS) PURE; + STDMETHOD_(HRESULT,SetFiltergraph) (THIS_ IGraphBuilder *) PURE; + STDMETHOD_(HRESULT,GetFiltergraph) (THIS_ IGraphBuilder **) PURE; + STDMETHOD_(HRESULT,SetOutputFileName) (THIS_ const GUID *, LPCOLESTR, + IBaseFilter **, IFileSinkFilter**) PURE; + STDMETHOD_(HRESULT,FindInterface) (THIS_ const GUID *, const GUID *, + IBaseFilter *, REFIID, void **) PURE; + STDMETHOD_(HRESULT,RenderStream) (THIS_ const GUID *, const GUID *, IUnknown *, + IBaseFilter *, IBaseFilter *) PURE; + STDMETHOD_(HRESULT,ControlStream) (THIS_ const GUID *, const GUID *, + IBaseFilter *, REFERENCE_TIME *, + REFERENCE_TIME *, WORD, WORD) PURE; + STDMETHOD_(HRESULT,AllocCapFile) (THIS_ LPCOLESTR, DWORDLONG) PURE; + STDMETHOD_(HRESULT,CopyCaptureFile) (THIS_ LPOLESTR, LPOLESTR, int, + struct IAMCopyCaptureFileProgress*) PURE; + STDMETHOD_(HRESULT,FindPin) (THIS_ IUnknown *, PIN_DIRECTION, const GUID *, + const GUID *, BOOL, int, IPin **) PURE; +}; +#undef INTERFACE + +EXTERN_C const IID IID_IAMCrossBar; +#define INTERFACE IAMCrossbar +DECLARE_INTERFACE_(IAMCrossbar, IUnknown) +{ + STDMETHOD(QueryInterface) (THIS_ REFIID,PVOID*) PURE; + STDMETHOD_(ULONG, AddRef) (THIS) PURE; + STDMETHOD_(ULONG, Release) (THIS) PURE; + STDMETHOD_(HRESULT,get_PinCounts) (THIS_ long *, long *) PURE; + STDMETHOD_(HRESULT,CanRoute) (THIS_ long, long) PURE; + STDMETHOD_(HRESULT,Route) (THIS_ long, long) PURE; + STDMETHOD_(HRESULT,get_IsRoutedTo) (THIS_ long, long *) PURE; + STDMETHOD_(HRESULT,get_CrossbarPinInfo) (THIS_ BOOL, long, long *, long *) PURE; +}; +#undef INTERFACE + +EXTERN_C const IID IID_IAMStreamConfig; +#define INTERFACE IAMStreamConfig +DECLARE_INTERFACE_(IAMStreamConfig, IUnknown) +{ + STDMETHOD(QueryInterface) (THIS_ REFIID,PVOID*) PURE; + STDMETHOD_(ULONG, AddRef) (THIS) PURE; + STDMETHOD_(ULONG, Release) (THIS) PURE; + STDMETHOD_(HRESULT, SetFormat) (THIS_ AM_MEDIA_TYPE *) PURE; + STDMETHOD_(HRESULT, GetFormat) (THIS_ AM_MEDIA_TYPE **) PURE; + STDMETHOD_(HRESULT, GetNumberOfCapabilities) (THIS_ int *,int *) PURE; + STDMETHOD_(HRESULT, GetStreamCaps) (THIS_ int,AM_MEDIA_TYPE **, BYTE *) PURE; +}; +#undef INTERFACE + +EXTERN_C const IID IID_IAMVideoProcAmp; +#define INTERFACE IAMVideoProcAmp +DECLARE_INTERFACE_(IAMVideoProcAmp, IUnknown) +{ + STDMETHOD(QueryInterface) (THIS_ REFIID,PVOID*) PURE; + STDMETHOD_(ULONG, AddRef) (THIS) PURE; + STDMETHOD_(ULONG, Release) (THIS) PURE; + STDMETHOD_(HRESULT, GetRange) (THIS_ long, long *, long *, long *, long *,long *) PURE; + STDMETHOD_(HRESULT, Set) (THIS_ long, long, long) PURE; + STDMETHOD_(HRESULT, Get) (THIS_ long, long *, long *) PURE; +}; +#undef INTERFACE + +EXTERN_C const IID IID_IAMTVAudio; +#define INTERFACE IAMTVAudio +DECLARE_INTERFACE_(IAMTVAudio, IUnknown) +{ + STDMETHOD(QueryInterface) (THIS_ REFIID,PVOID*) PURE; + STDMETHOD_(ULONG, AddRef) (THIS) PURE; + STDMETHOD_(ULONG, Release) (THIS) PURE; + STDMETHOD_(HRESULT, GetHardwareSupportedTVAudioModes) (THIS_ long *) PURE; + STDMETHOD_(HRESULT, GetAvailableTVAudioModes) (THIS_ long *) PURE; + STDMETHOD_(HRESULT, get_TVAudioMode) (THIS_ long *) PURE; + STDMETHOD_(HRESULT, put_TVAudioMode) (THIS_ long) PURE; +/****** NOT IMPLEMENTED + STDMETHOD_(HRESULT, RegisterNotificationCallBack) (THIS_ struct IAMTunerNotification*, long) PURE; + STDMETHOD_(HRESULT, UnRegisterNotificationCallBack) (THIS_ struct IAMTunerNotification*) PURE; +*******/ +}; +#undef INTERFACE + +EXTERN_C const IID IID_ISampleGrabberCB; +#define INTERFACE ISampleGrabberCB +DECLARE_INTERFACE_(ISampleGrabberCB, IUnknown) +{ + STDMETHOD(QueryInterface) (THIS_ REFIID,PVOID*) PURE; + STDMETHOD_(ULONG, AddRef) (THIS) PURE; + STDMETHOD_(ULONG, Release) (THIS) PURE; + STDMETHOD_(HRESULT, SampleCB) (THIS_ double, struct IMediaSample *) PURE; + STDMETHOD_(HRESULT, BufferCB) (THIS_ double, BYTE *, long) PURE; +}; +#undef INTERFACE + +EXTERN_C const IID IID_ISampleGrabber; +#define INTERFACE ISampleGrabber +DECLARE_INTERFACE_(ISampleGrabber, IUnknown) +{ + STDMETHOD(QueryInterface) (THIS_ REFIID,PVOID*) PURE; + STDMETHOD_(ULONG, AddRef) (THIS) PURE; + STDMETHOD_(ULONG, Release) (THIS) PURE; + STDMETHOD_(HRESULT, SetOneShot) (THIS_ BOOL) PURE; + STDMETHOD_(HRESULT, SetMediaType) (THIS_ const AM_MEDIA_TYPE *) PURE; + STDMETHOD_(HRESULT, GetConnectedMediaType) (THIS_ AM_MEDIA_TYPE *) PURE; + STDMETHOD_(HRESULT, SetBufferSamples) (THIS_ BOOL) PURE; + STDMETHOD_(HRESULT, GetCurrentBuffer) (THIS_ long *, long *) PURE; + STDMETHOD_(HRESULT, GetCurrentSample) (THIS_ struct IMediaSample **) PURE; + STDMETHOD_(HRESULT, SetCallback) (THIS_ ISampleGrabberCB *, long) PURE; +}; +#undef INTERFACE + +EXTERN_C const IID IID_IFilterGraph; +#define INTERFACE IFilterGraph +DECLARE_INTERFACE_(IFilterGraph, IUnknown) +{ + STDMETHOD(QueryInterface) (THIS_ REFIID,PVOID*) PURE; + STDMETHOD_(ULONG, AddRef) (THIS) PURE; + STDMETHOD_(ULONG, Release) (THIS) PURE; + STDMETHOD_(HRESULT, AddFilter) (THIS_ struct IBaseFilter *, LPCWSTR) PURE; + STDMETHOD_(HRESULT, RemoveFilter) (THIS_ struct IBaseFilter *) PURE; + STDMETHOD_(HRESULT, EnumFilters) (THIS_ struct IEnumFilters **) PURE; + STDMETHOD_(HRESULT, FindFilterByName) (THIS_ LPCWSTR, struct IBaseFilter **) PURE; + STDMETHOD_(HRESULT, ConnectDirect) (THIS_ IPin *, IPin *, const AM_MEDIA_TYPE *) PURE; + STDMETHOD_(HRESULT, Reconnect) (THIS_ struct IPin *) PURE; + STDMETHOD_(HRESULT, Disconnect) (THIS_ struct IPin *) PURE; + STDMETHOD_(HRESULT, SetDefaultSyncSource) (THIS) PURE; +}; +#undef INTERFACE + +EXTERN_C const IID IID_IMediaSample; +#define INTERFACE IMediaSample +DECLARE_INTERFACE_(IMediaSample, IUnknown) +{ + STDMETHOD(QueryInterface) (THIS_ REFIID,PVOID*) PURE; + STDMETHOD_(ULONG, AddRef) (THIS) PURE; + STDMETHOD_(ULONG, Release) (THIS) PURE; + STDMETHOD_(HRESULT, GetPointer )(THIS_ unsigned char** ) PURE; + STDMETHOD_(LONG,GetSize )(THIS) PURE; + STDMETHOD_(HRESULT, GetTime )(THIS_ REFERENCE_TIME* ,REFERENCE_TIME* ) PURE; + STDMETHOD_(HRESULT, SetTime )(THIS_ REFERENCE_TIME* ,REFERENCE_TIME* ) PURE; + STDMETHOD_(HRESULT, IsSyncPoint )(THIS) PURE; + STDMETHOD_(HRESULT, SetSyncPoint )(THIS_ long ) PURE; + STDMETHOD_(HRESULT, IsPreroll )(THIS) PURE; + STDMETHOD_(HRESULT, SetPreroll )(THIS_ long ) PURE; + STDMETHOD_(LONG,GetActualDataLength)(THIS) PURE; + STDMETHOD_(HRESULT, SetActualDataLength )(THIS_ long ) PURE; + STDMETHOD_(HRESULT, GetMediaType )(THIS_ AM_MEDIA_TYPE** ) PURE; + STDMETHOD_(HRESULT, SetMediaType )(THIS_ AM_MEDIA_TYPE* ) PURE; + STDMETHOD_(HRESULT, IsDiscontinuity )(THIS) PURE; + STDMETHOD_(HRESULT, SetDiscontinuity )(THIS_ long ) PURE; + STDMETHOD_(HRESULT, GetMediaTime )(THIS_ long long* ,long long* ) PURE; + STDMETHOD_(HRESULT, SetMediaTime )(THIS_ long long* ,long long* ) PURE; +}; +#undef INTERFACE + +EXTERN_C const IID IID_IMediaFilter; +#define INTERFACE IMediaFilter +DECLARE_INTERFACE_(IMediaFilter, IUnknown) +{ + STDMETHOD(QueryInterface) (THIS_ REFIID,PVOID*) PURE; + STDMETHOD_(ULONG, AddRef) (THIS) PURE; + STDMETHOD_(ULONG, Release) (THIS) PURE; + STDMETHOD_(HRESULT, Stop) (THIS) PURE; + STDMETHOD_(HRESULT, Pause) (THIS) PURE; + STDMETHOD_(HRESULT, Run) (THIS_ REFERENCE_TIME) PURE; + STDMETHOD_(HRESULT, GetState) (THIS_ DWORD, FILTER_STATE *) PURE; + STDMETHOD_(HRESULT, SetSyncSource) (THIS_ IReferenceClock *) PURE; + STDMETHOD_(HRESULT, GetSyncSource) (THIS_ IReferenceClock **) PURE; +}; +#undef INTERFACE + +EXTERN_C const IID IID_IVideoWindow; +#define INTERFACE IVideoWindow +DECLARE_INTERFACE_(IVideoWindow, IUnknown) +{ + STDMETHOD(QueryInterface )(THIS_ REFIID ,void **) PURE; + STDMETHOD_(ULONG,AddRef )(THIS) PURE; + STDMETHOD_(ULONG,Release )(THIS) PURE; + STDMETHOD_(HRESULT, GetTypeInfoCount) (THIS_ UINT * ) PURE; + STDMETHOD_(HRESULT, GetTypeInfo) (THIS_ UINT ,LCID , ITypeInfo ** ) PURE; + STDMETHOD_(HRESULT, GetIDsOfNames) (THIS_ REFIID ,LPOLESTR * , UINT ,LCID , DISPID * ) PURE; + STDMETHOD_(HRESULT, Invoke) (THIS_ DISPID ,REFIID , LCID , WORD ,void *, VARIANT * ,EXCEPINFO * , UINT * ) PURE; + STDMETHOD_(HRESULT, put_Caption) (THIS_ BSTR ) PURE; + STDMETHOD_(HRESULT, get_Caption) (THIS_ BSTR * ) PURE; + STDMETHOD_(HRESULT, put_WindowStyle) (THIS_ long ) PURE; + STDMETHOD_(HRESULT, get_WindowStyle) (THIS_ long *) PURE; + STDMETHOD_(HRESULT, put_WindowStyleEx) (THIS_ long ) PURE; + STDMETHOD_(HRESULT, get_WindowStyleEx) (THIS_ long *) PURE; + STDMETHOD_(HRESULT, put_AutoShow) (THIS_ long ) PURE; + STDMETHOD_(HRESULT, get_AutoShow) (THIS_ long *) PURE; + STDMETHOD_(HRESULT, put_WindowState) (THIS_ long ) PURE; + STDMETHOD_(HRESULT, get_WindowState) (THIS_ long *) PURE; + STDMETHOD_(HRESULT, put_BackgroundPalette) (THIS_ long ) PURE; + STDMETHOD_(HRESULT, get_BackgroundPalette) (THIS_ long *) PURE; + STDMETHOD_(HRESULT, put_Visible) (THIS_ long ) PURE; + STDMETHOD_(HRESULT, get_Visible) (THIS_ long *) PURE; + STDMETHOD_(HRESULT, put_Left) (THIS_ long ) PURE; + STDMETHOD_(HRESULT, get_Left) (THIS_ long *) PURE; + STDMETHOD_(HRESULT, put_Width) (THIS_ long ) PURE; + STDMETHOD_(HRESULT, get_Width) (THIS_ long *) PURE; + STDMETHOD_(HRESULT, put_Top) (THIS_ long ) PURE; + STDMETHOD_(HRESULT, get_Top) (THIS_ long *) PURE; + STDMETHOD_(HRESULT, put_Height) (THIS_ long ) PURE; + STDMETHOD_(HRESULT, get_Height) (THIS_ long *) PURE; + STDMETHOD_(HRESULT, put_Owner) (THIS_ OAHWND ) PURE; + STDMETHOD_(HRESULT, get_Owner) (THIS_ OAHWND * ) PURE; + STDMETHOD_(HRESULT, put_MessageDrain) (THIS_ OAHWND ) PURE; + STDMETHOD_(HRESULT, get_MessageDrain) (THIS_ OAHWND * ) PURE; + STDMETHOD_(HRESULT, get_BorderColor) (THIS_ long *) PURE; + STDMETHOD_(HRESULT, put_BorderColor) (THIS_ long ) PURE; + STDMETHOD_(HRESULT, get_FullScreenMode) (THIS_ long *) PURE; + STDMETHOD_(HRESULT, put_FullScreenMode) (THIS_ long ) PURE; + STDMETHOD_(HRESULT, SetWindowForeground) (THIS_ long ) PURE; + STDMETHOD_(HRESULT, NotifyOwnerMessage) (THIS_ OAHWND ,long , LONG_PTR ,LONG_PTR ) PURE; + STDMETHOD_(HRESULT, SetWindowPosition) (THIS_ long ,long , long ,long ) PURE; + STDMETHOD_(HRESULT, GetWindowPosition) (THIS_ long *,long *, long *,long *) PURE; + STDMETHOD_(HRESULT, GetMinIdealImageSize) (THIS_ long *, long *) PURE; + STDMETHOD_(HRESULT, GetMaxIdealImageSize) (THIS_ long *, long *) PURE; + STDMETHOD_(HRESULT, GetRestorePosition) (THIS_ long *,long *, long *,long *) PURE; + STDMETHOD_(HRESULT, HideCursor) (THIS_ long ) PURE; + STDMETHOD_(HRESULT, IsCursorHidden) (THIS_ long *) PURE; +}; + #ifdef __cplusplus } #endif Added: trunk/cegcc/src/w32api/libce/directx/strmiids.c =================================================================== --- trunk/cegcc/src/w32api/libce/directx/strmiids.c (rev 0) +++ trunk/cegcc/src/w32api/libce/directx/strmiids.c 2009-02-01 15:06:56 UTC (rev 1210) @@ -0,0 +1,980 @@ +/* + + strmiids.c - DirectShow GUIDs + + Written by Filip Navara <xn...@vo...> + + This library 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. + +*/ + +#if defined(__LCC__) || defined(__GNUC__) +#define INITGUID 1 +#include <windows.h> +#else +#include <basetyps.h> +#endif + +DEFINE_GUID(CLSID_AMAudioData,0xf2468580,0xaf8a,0x11d0,0x82,0x12,0x00,0xc0,0x4f,0xc3,0x2c,0x45); +DEFINE_GUID(CLSID_AMAudioStream,0x8496e040,0xaf4c,0x11d0,0x82,0x12,0x00,0xc0,0x4f,0xc3,0x2c,0x45); +DEFINE_GUID(CLSID_AMDirectDrawStream,0x49c47ce4,0x9ba4,0x11d0,0x82,0x12,0x00,0xc0,0x4f,0xc3,0x2c,0x45); +DEFINE_GUID(CLSID_AMMediaTypeStream,0xcf0f2f7c,0xf7bf,0x11d0,0x90,0xd,0x0,0xc0,0x4f,0xd9,0x18,0x9d); +DEFINE_GUID(MSPID_PrimaryAudio,0xa35ff56b,0x9fda,0x11d0,0x8f,0xdf,0x0,0xc0,0x4f,0xd9,0x18,0x9d); +DEFINE_GUID(MSPID_PrimaryVideo,0xa35ff56a,0x9fda,0x11d0,0x8f,0xdf,0x0,0xc0,0x4f,0xd9,0x18,0x9d); +DEFINE_GUID(AM_INTERFACESETID_Standard,0x1a8766a0l,0x62ce,0x11cf,0xa5,0xd6,0x28,0xdb,0x04,0xc1,0x00,0x00); +DEFINE_GUID(AM_KSCATEGORY_AUDIO,0x6994ad04,0x93ef,0x11d0,0xa3,0xcc,0x00,0xa0,0xc9,0x22,0x31,0x96); +DEFINE_GUID(AM_KSCATEGORY_CAPTURE,0x65e8773d,0x8f56,0x11d0,0xa3,0xb9,0x00,0xa0,0xc9,0x22,0x31,0x96); +DEFINE_GUID(AM_KSCATEGORY_CROSSBAR,0xa799a801,0xa46d,0x11d0,0xa1,0x8c,0x00,0xa0,0x24,0x01,0xdc,0xd4); +DEFINE_GUID(AM_KSCATEGORY_DATACOMPRESSOR,0x1e84c900,0x7e70,0x11d0,0xa5,0xd6,0x28,0xdb,0x04,0xc1,0x00,0x00); +DEFINE_GUID(AM_KSCATEGORY_RENDER,0x65e8773e,0x8f56,0x11d0,0xa3,0xb9,0x00,0xa0,0xc9,0x22,0x31,0x96); +DEFINE_GUID(AM_KSCATEGORY_SPLITTER,0x0a4252a0,0x7e70,0x11d0,0xa5,0xd6,0x28,0xdb,0x04,0xc1,0x00,0x00); +DEFINE_GUID(AM_KSCATEGORY_TVAUDIO,0xa799a802,0xa46d,0x11d0,0xa1,0x8c,0x00,0xa0,0x24,0x01,0xdc,0xd4); +DEFINE_GUID(AM_KSCATEGORY_TVTUNER,0xa799a800,0xa46d,0x11d0,0xa1,0x8c,0x00,0xa0,0x24,0x01,0xdc,0xd4); +DEFINE_GUID(AM_KSCATEGORY_VBICODEC,0x07dad660,0x22f1,0x11d1,0xa9,0xf4,0x00,0xc0,0x4f,0xbb,0xde,0x8f); +DEFINE_GUID(AM_KSCATEGORY_VIDEO,0x6994ad05,0x93ef,0x11d0,0xa3,0xcc,0x00,0xa0,0xc9,0x22,0x31,0x96); +DEFINE_GUID(AM_KSPROPSETID_AC3,0xbfabe720,0x6e1f,0x11d0,0xbc,0xf2,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(AM_KSPROPSETID_CopyProt,0x0e8a0a40,0x6aef,0x11d0,0x9e,0xd0,0x00,0xa0,0x24,0xca,0x19,0xb3); +DEFINE_GUID(AM_KSPROPSETID_DVD_RateChange,0x3577eb09,0x9582,0x477f,0xb2,0x9c,0xb0,0xc4,0x52,0xa4,0xff,0x9a); +DEFINE_GUID(AM_KSPROPSETID_DvdKaraoke,0xae4720ae,0xaa71,0x42d8,0xb8,0x2a,0xff,0xfd,0xf5,0x8b,0x76,0xfd); +DEFINE_GUID(AM_KSPROPSETID_DvdSubPic,0xac390460,0x43af,0x11d0,0xbd,0x6a,0x00,0x35,0x05,0xc1,0x03,0xa9); +DEFINE_GUID(AM_KSPROPSETID_FrameStep,0xc830acbd,0xab07,0x492f,0x88,0x52,0x45,0xb6,0x98,0x7c,0x29,0x79); +DEFINE_GUID(AM_KSPROPSETID_TSRateChange,0xa503c5c0,0x1d1d,0x11d1,0xad,0x80,0x44,0x45,0x53,0x54,0x0,0x0); +DEFINE_GUID(AMPROPSETID_Pin,0x9b00f101,0x1567,0x11d1,0xb3,0xf1,0x0,0xaa,0x0,0x37,0x61,0xc5); +DEFINE_GUID(CLSID_ACMWrapper,0x6a08cf80,0x0e18,0x11cf,0xa2,0x4d,0x0,0x20,0xaf,0xd7,0x97,0x67); +DEFINE_GUID(CLSID_ActiveMovieCategories,0xda4e3da0,0xd07d,0x11d0,0xbd,0x50,0x0,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(CLSID_AllocPresenter,0x99d54f63,0x1a69,0x41ae,0xaa,0x4d,0xc9,0x76,0xeb,0x3f,0x07,0x13); +DEFINE_GUID(CLSID_AllocPresenterDDXclMode,0x4444ac9e,0x242e,0x471b,0xa3,0xc7,0x45,0xdc,0xd4,0x63,0x52,0xbc); +DEFINE_GUID(CLSID_AMMultiMediaStream,0x49c47ce5,0x9ba4,0x11d0,0x82,0x12,0x00,0xc0,0x4f,0xc3,0x2c,0x45); +DEFINE_GUID(CLSID_AMovie,0x5f2759c0,0x7685,0x11cf,0x8b,0x23,0x00,0x80,0x5f,0x6c,0xef,0x60); +DEFINE_GUID(CLSID_AMTimeline,0x78530b75,0x61f9,0x11d2,0x8c,0xad,0x00,0xa0,0x24,0x58,0x09,0x02); +DEFINE_GUID(CLSID_AMTimelineComp,0x74d2ec80,0x6233,0x11d2,0x8c,0xad,0x00,0xa0,0x24,0x58,0x09,0x02); +DEFINE_GUID(CLSID_AMTimelineEffect,0x74d2ec82,0x6233,0x11d2,0x8c,0xad,0x00,0xa0,0x24,0x58,0x09,0x02); +DEFINE_GUID(CLSID_AMTimelineGroup,0xf6d371e1,0xb8a6,0x11d2,0x80,0x23,0x00,0xc0,0xdf,0x10,0xd4,0x34); +DEFINE_GUID(CLSID_AMTimelineObj,0x78530b78,0x61f9,0x11d2,0x8c,0xad,0x00,0xa0,0x24,0x58,0x09,0x02); +DEFINE_GUID(CLSID_AMTimelineSrc,0x78530b7a,0x61f9,0x11d2,0x8c,0xad,0x00,0xa0,0x24,0x58,0x09,0x02); +DEFINE_GUID(CLSID_AMTimelineTrack,0x8f6c3c50,0x897b,0x11d2,0x8c,0xfb,0x00,0xa0,0xc9,0x44,0x1e,0x20); +DEFINE_GUID(CLSID_AMTimelineTrans,0x74d2ec81,0x6233,0x11d2,0x8c,0xad,0x00,0xa0,0x24,0x58,0x09,0x02); +DEFINE_GUID(CLSID_AnalogRadioTuningSpace,0x8a674b4c,0x1f63,0x11d3,0xb6,0x4c,0x00,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(CLSID_AnalogTVTuningSpace,0x8a674b4d,0x1f63,0x11d3,0xb6,0x4c,0x00,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(CLSID_AnalogVideoDecoderPropertyPage,0x71f96466,0x78f3,0x11d0,0xa1,0x8c,0x0,0xa0,0xc9,0x11,0x89,0x56); +DEFINE_GUID(CLSID_AsyncReader,0xe436ebb5,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70); +DEFINE_GUID(CLSID_ATSCComponentType,0xa8dcf3d5,0x0780,0x4ef4,0x8a,0x83,0x2c,0xff,0xaa,0xcb,0x8a,0xce); +DEFINE_GUID(CLSID_ATSCChannelTuneRequest,0x0369b4e6,0x45b6,0x11d3,0xb6,0x50,0x00,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(CLSID_ATSCLocator,0x8872ff1b,0x98fa,0x4d7a,0x8d,0x93,0xc9,0xf1,0x05,0x5f,0x85,0xbb); +DEFINE_GUID(CLSID_ATSCNetworkPropertyPage,0xe3444d16,0x5ac4,0x4386,0x88,0xdf,0x13,0xfd,0x23,0x0e,0x1d,0xda); +DEFINE_GUID(CLSID_ATSCNetworkProvider,0x0dad2fdd,0x5fd7,0x11d3,0x8f,0x50,0x00,0xc0,0x4f,0x79,0x71,0xe2); +DEFINE_GUID(CLSID_ATSCTuningSpace,0xa2e30750,0x6c3d,0x11d3,0xb6,0x53,0x00,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(CLSID_AudioCompressorCategory,0x33d9a761,0x90c8,0x11d0,0xbd,0x43,0x00,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(CLSID_AudioInputDeviceCategory,0x33d9a762,0x90c8,0x11d0,0xbd,0x43,0x00,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(CLSID_AudioInputMixerProperties,0x2ca8ca52,0x3c3f,0x11d2,0xb7,0x3d,0x00,0xc0,0x4f,0xb6,0xbd,0x3d); +DEFINE_GUID(CLSID_AudioProperties,0x05589faf,0xc356,0x11ce,0xbf,0x01,0x00,0xaa,0x00,0x55,0x59,0x5a); +DEFINE_GUID(CLSID_AudioRecord,0xe30629d2,0x27e5,0x11ce,0x87,0x5d,0x00,0x60,0x8c,0xb7,0x80,0x66); +DEFINE_GUID(CLSID_AudioRender,0xe30629d1,0x27e5,0x11ce,0x87,0x5d,0x00,0x60,0x8c,0xb7,0x80,0x66); +DEFINE_GUID(CLSID_AudioRendererAdvancedProperties,0x37e92a92,0xd9aa,0x11d2,0xbf,0x84,0x8e,0xf2,0xb1,0x55,0x5a,0xed); +DEFINE_GUID(CLSID_AudioRendererCategory,0xe0f158e1,0xcb04,0x11d0,0xbd,0x4e,0x00,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(CLSID_AudMixer,0x036a9790,0xc153,0x11d2,0x9e,0xf7,0x00,0x60,0x08,0x03,0x9e,0x37); +DEFINE_GUID(CLSID_AuxInTuningSpace,0xf9769a06,0x7aca,0x4e39,0x9c,0xfb,0x97,0xbb,0x35,0xf0,0xe7,0x7e); +DEFINE_GUID(CLSID_AVICo,0xd76e2820,0x1563,0x11cf,0xac,0x98,0x00,0xaa,0x00,0x4c,0x0f,0xa9); +DEFINE_GUID(CLSID_AVIDec,0xcf49d4e0,0x1115,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70); +DEFINE_GUID(CLSID_AviDest,0xe2510970,0xf137,0x11ce,0x8b,0x67,0x00,0xaa,0x00,0xa3,0xf1,0xa6); +DEFINE_GUID(CLSID_AVIDoc,0xd3588ab0,0x0781,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70); +DEFINE_GUID(CLSID_AVIDraw,0xa888df60,0x1e90,0x11cf,0xac,0x98,0x00,0xaa,0x00,0x4c,0x0f,0xa9); +DEFINE_GUID(CLSID_AVIMIDIRender,0x07b65360,0xc445,0x11ce,0xaf,0xde,0x00,0xaa,0x00,0x6c,0x14,0xf4); +DEFINE_GUID(CLSID_AviMuxProptyPage,0xc647b5c0,0x157c,0x11d0,0xbd,0x23,0x00,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(CLSID_AviMuxProptyPage1,0xc647b5c0,0x157c,0x11d0,0xbd,0x23,0x00,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(CLSID_AviReader,0x1b544c21,0xfd0b,0x11ce,0x8c,0x63,0x00,0xaa,0x00,0x44,0xb5,0x1e); +DEFINE_GUID(CLSID_AviSplitter,0x1b544c20,0xfd0b,0x11ce,0x8c,0x63,0x00,0xaa,0x00,0x44,0xb5,0x1e); +DEFINE_GUID(CLSID_BroadcastEventService,0x0b3ffb92,0x0919,0x4934,0x9d,0x5b,0x61,0x9c,0x71,0x9d,0x02,0x02); +DEFINE_GUID(CLSID_CAcmCoClassManager,0x33d9a761,0x90c8,0x11d0,0xbd,0x43,0x00,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(CLSID_CADefaultDlg,0x11166990,0xdf8a,0x463a,0xb6,0x20,0x7b,0xec,0x23,0x54,0x20,0x10); +DEFINE_GUID(CLSID_CADenials,0x11166540,0xdf8a,0x463a,0xb6,0x20,0x7b,0xec,0x23,0x54,0x20,0x10); +DEFINE_GUID(CLSID_CAManager,0x11166100,0xdf8a,0x463a,0xb6,0x20,0x7b,0xec,0x23,0x54,0x20,0x10); +DEFINE_GUID(CLSID_CAManagerProxy,0x11166101,0xdf8a,0x463a,0xb6,0x20,0x7b,0xec,0x23,0x54,0x20,0x10); +DEFINE_GUID(CLSID_CameraControlPropertyPage,0x71f96465,0x78f3,0x11d0,0xa1,0x8c,0x00,0xa0,0xc9,0x11,0x89,0x56); +DEFINE_GUID(CLSID_CAOffer,0x11166550,0xdf8a,0x463a,0xb6,0x20,0x7b,0xec,0x23,0x54,0x20,0x10); +DEFINE_GUID(CLSID_CaptureGraphBuilder,0xbf87b6e0,0x8c27,0x11d0,0xb3,0xf0,0x00,0xaa,0x00,0x37,0x61,0xc5); +DEFINE_GUID(CLSID_CaptureGraphBuilder2,0xbf87b6e1,0x8c27,0x11d0,0xb3,0xf0,0x00,0xaa,0x00,0x37,0x61,0xc5); +DEFINE_GUID(CLSID_CaptureProperties,0x1b544c22,0xfd0b,0x11ce,0x8c,0x63,0x00,0xaa,0x00,0x44,0xb5,0x1f); +DEFINE_GUID(CLSID_CAResDenialTree,0x11166998,0xdf8a,0x463a,0xb6,0x20,0x7b,0xec,0x23,0x54,0x20,0x10); +DEFINE_GUID(CLSID_CDeviceMoniker,0x4315d437,0x5b8c,0x11d0,0xbd,0x3b,0x00,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(CLSID_CIcmCoClassManager,0x33d9a760,0x90c8,0x11d0,0xbd,0x43,0x00,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(CLSID_CMidiOutClassManager,0x4efe2452,0x168a,0x11d1,0xbc,0x76,0x00,0xc0,0x4f,0xb9,0x45,0x3b); +DEFINE_GUID(CLSID_CMpegAudioCodec,0x4a2286e0,0x7bef,0x11ce,0x9b,0xd9,0x00,0x00,0xe2,0x02,0x59,0x9c); +DEFINE_GUID(CLSID_CMpegVideoCodec,0xfeb50740,0x7bef,0x11ce,0x9b,0xd9,0x00,0x00,0xe2,0x02,0x59,0x9c); +DEFINE_GUID(CLSID_ColorSource,0x0cfdd070,0x581a,0x11d2,0x9e,0xe6,0x00,0x60,0x08,0x03,0x9e,0x37); +DEFINE_GUID(CLSID_Colour,0x1643e180,0x90f5,0x11ce,0x97,0xd5,0x00,0xaa,0x00,0x55,0x59,0x5a); +DEFINE_GUID(CLSID_Component,0x59dc47a8,0x116c,0x11d3,0x9d,0x8e,0x00,0xc0,0x4f,0x72,0xd9,0x80); +DEFINE_GUID(CLSID_Components,0x809b6661,0x94c4,0x49e6,0xb6,0xec,0x3f,0x0f,0x86,0x22,0x15,0xaa); +DEFINE_GUID(CLSID_ComponentType,0x823535a0,0x0318,0x11d3,0x9d,0x8e,0x00,0xc0,0x4f,0x72,0xd9,0x80); +DEFINE_GUID(CLSID_ComponentTypes,0xa1a2b1c4,0x0e3a,0x11d3,0x9d,0x8e,0x00,0xc0,0x4f,0x72,0xd9,0x80); +DEFINE_GUID(CLSID_CQzFilterClassManager,0x083863f1,0x70de,0x11d0,0xbd,0x40,0x00,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(CLSID_CreatePropBagOnRegKey,0x8a674b49,0x1f63,0x11d3,0xb6,0x4c,0x00,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(CLSID_CrossbarFilterPropertyPage,0x71f96461,0x78f3,0x11d0,0xa1,0x8c,0x00,0xa0,0xc9,0x11,0x89,0x56); +DEFINE_GUID(CLSID_CVidCapClassManager,0x860bb310,0x5d01,0x11d0,0xbd,0x3b,0x00,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(CLSID_CWaveinClassManager,0x33d9a762,0x90c8,0x11d0,0xbd,0x43,0x00,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(CLSID_CWaveOutClassManager,0xe0f158e1,0xcb04,0x11d0,0xbd,0x4e,0x00,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(CLSID_DeviceControlCategory,0xcc7bfb46,0xf175,0x11d1,0xa3,0x92,0x00,0xe0,0x29,0x1f,0x39,0x59); +DEFINE_GUID(CLSID_DirectDraw,0xd7b70ee0,0x4340,0x11cf,0xb0,0x63,0x00,0x20,0xaf,0xc2,0xcd,0x35); +DEFINE_GUID(CLSID_DirectDrawClipper,0x593817a0,0x7db3,0x11cf,0xa2,0xde,0x00,0xaa,0x00,0xb9,0x33,0x56); +DEFINE_GUID(CLSID_DirectDrawProperties,0x944d4c00,0xdd52,0x11ce,0xbf,0x0e,0x00,0xaa,0x00,0x55,0x59,0x5a); +DEFINE_GUID(CLSID_Dither,0x1da08500,0x9edc,0x11cf,0xbc,0x10,0x00,0xaa,0x00,0xac,0x74,0xf6); +DEFINE_GUID(CLSID_DShowTVEFilter,0x05500280,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_DSoundRender,0x79376820,0x07d0,0x11cf,0xa2,0x4d,0x00,0x20,0xaf,0xd7,0x97,0x67); +DEFINE_GUID(CLSID_DTFilter,0xc4c4c4f2,0x49,0x4e2b,0x98,0xfb,0x95,0x37,0xf6,0xce,0x51,0x6d); +DEFINE_GUID(CLSID_DVBCLocator,0xc531d9fd,0x9685,0x4028,0x8b,0x68,0x6e,0x12,0x32,0x07,0x9f,0x1e); +DEFINE_GUID(CLSID_DVBCNetworkProvider,0xdc0c0fe7,0x485,0x4266,0xb9,0x3f,0x68,0xfb,0xf8,0xe,0xd8,0x34); +DEFINE_GUID(CLSID_DVBSLocator,0x1df7d126,0x4050,0x47f0,0xa7,0xcf,0x4c,0x4c,0xa9,0x24,0x13,0x33); +DEFINE_GUID(CLSID_DVBSNetworkProvider,0xfa4b375a,0x45b4,0x4d45,0x84,0x40,0x26,0x39,0x57,0xb1,0x16,0x23); +DEFINE_GUID(CLSID_DVBSTuningSpace,0xb64016f3,0xc9a2,0x4066,0x96,0xf0,0xbd,0x95,0x63,0x31,0x47,0x26); +DEFINE_GUID(CLSID_DVBTLocator,0x9cd64701,0xbdf3,0x4d14,0x8e,0x03,0xf1,0x29,0x83,0xd8,0x66,0x64); +DEFINE_GUID(CLSID_DVBTNetworkProvider,0x216c62df,0x6d7f,0x4e9a,0x85,0x71,0x5,0xf1,0x4e,0xdb,0x76,0x6a); +DEFINE_GUID(CLSID_DVBTuneRequest,0x15d6504a,0x5494,0x499c,0x88,0x6c,0x97,0x3c,0x9e,0x53,0xb9,0xf1); +DEFINE_GUID(CLSID_DVBTuningSpace,0xc6b14b32,0x76aa,0x4a86,0xa7,0xac,0x5c,0x79,0xaa,0xf5,0x8d,0xa7); +DEFINE_GUID(CLSID_DVDecPropertiesPage,0x101193c0,0x0bfe,0x11d0,0xaf,0x91,0x00,0xaa,0x00,0xb6,0x7a,0x42); +DEFINE_GUID(CLSID_DvdGraphBuilder,0xfcc152b7,0xf372,0x11d0,0x8e,0x00,0x00,0xc0,0x4f,0xd7,0xc0,0x8b); +DEFINE_GUID(CLSID_DVDHWDecodersCategory,0x2721ae20,0x7e70,0x11d0,0xa5,0xd6,0x28,0xdb,0x04,0xc1,0x00,0x00); +DEFINE_GUID(CLSID_DVDNavigator,0x9b8c4620,0x2c1a,0x11d0,0x84,0x93,0x00,0xa0,0x24,0x38,0xad,0x48); +DEFINE_GUID(CLSID_DVDState,0xf963c5cf,0xa659,0x4a93,0x96,0x38,0xca,0xf3,0xcd,0x27,0x7d,0x13); +DEFINE_GUID(CLSID_DVEncPropertiesPage,0x4150f050,0xbb6f,0x11d0,0xaf,0xb9,0x00,0xaa,0x00,0xb6,0x7a,0x42); +DEFINE_GUID(CLSID_DVMux,0x129d7e40,0xc10d,0x11d0,0xaf,0xb9,0x00,0xaa,0x00,0xb6,0x7a,0x42); +DEFINE_GUID(CLSID_DVMuxPropertyPage,0x4db880e0,0xc10d,0x11d0,0xaf,0xb9,0x00,0xaa,0x00,0xb6,0x7a,0x42); +DEFINE_GUID(CLSID_DVSplitter,0x4eb31670,0x9fc6,0x11cf,0xaf,0x6e,0x00,0xaa,0x00,0xb6,0x7a,0x42); +DEFINE_GUID(CLSID_DVVideoCodec,0xb1b77c00,0xc3e4,0x11cf,0xaf,0x79,0x00,0xaa,0x00,0xb6,0x7a,0x42); +DEFINE_GUID(CLSID_DVVideoEnc,0x13aa3650,0xbb6f,0x11d0,0xaf,0xb9,0x00,0xaa,0x00,0xb6,0x7a,0x42); +DEFINE_GUID(CLSID_DxtAlphaSetter,0x506d89ae,0x909a,0x44f7,0x94,0x44,0xab,0xd5,0x75,0x89,0x6e,0x35); +DEFINE_GUID(CLSID_DxtCompositor,0xbb44391d,0x6abd,0x422f,0x9e,0x2e,0x38,0x5c,0x9d,0xff,0x51,0xfc); +DEFINE_GUID(CLSID_DxtJpeg,0xde75d012,0x7a65,0x11d2,0x8c,0xea,0x00,0xa0,0xc9,0x44,0x1e,0x20); +DEFINE_GUID(CLSID_DxtKey,0xc5b19592,0x145e,0x11d3,0x9f,0x04,0x00,0x60,0x08,0x03,0x9e,0x37); +DEFINE_GUID(CLSID_ETFilter,0xc4c4c4f1,0x49,0x4e2b,0x98,0xfb,0x95,0x37,0xf6,0xce,0x51,0x6d); +DEFINE_GUID(CLSID_EvalRat,0xc5c5c5f1,0x3abc,0x11d6,0xb2,0x5b,0,0xc0,0x4f,0xa0,0xc0,0x26); +DEFINE_GUID(CLSID_FGControl,0xe436ebb4,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70); +DEFINE_GUID(CLSID_FileSource,0x701722e0,0x8ae3,0x11ce,0xa8,0x5c,0x00,0xaa,0x00,0x2f,0xea,0xb5); +DEFINE_GUID(CLSID_FileWriter,0x8596e5f0,0x0da5,0x11d0,0xbd,0x21,0x00,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(CLSID_FilgraphManager,0xe436ebb3,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70); +DEFINE_GUID(CLSID_FilterGraph,0xe436ebb3,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70); +DEFINE_GUID(CLSID_FilterGraphNoThread,0xe436ebb8,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70); +DEFINE_GUID(CLSID_FilterMapper,0xe436ebb2,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70); +DEFINE_GUID(CLSID_FilterMapper2,0xcda42200,0xbd88,0x11d0,0xbd,0x4e,0x00,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(CLSID_ChannelTuneRequest,0x0369b4e5,0x45b6,0x11d3,0xb6,0x50,0x00,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(CLSID_ICodecAPIProxy,0x7ff0997a,0x1999,0x4286,0xa7,0x3c,0x62,0x2b,0x88,0x14,0xe7,0xeb); +DEFINE_GUID(CLSID_InfTee,0xf8388a40,0xd5bb,0x11d0,0xbe,0x5a,0x00,0x80,0xc7,0x06,0x56,0x8e); +DEFINE_GUID(CLSID_IVideoEncoderCodecAPIProxy,0xb05dabd9,0x56e5,0x4fdc,0xaf,0xa4,0x8a,0x47,0xe9,0x1f,0x1c,0x9c); +DEFINE_GUID(CLSID_IVideoEncoderProxy,0xb43c4eec,0x8c32,0x4791,0x91,0x2,0x50,0x8a,0xda,0x5e,0xe8,0xe7); +DEFINE_GUID(CLSID_LanguageComponentType,0x1be49f30,0x0e1b,0x11d3,0x9d,0x8e,0x00,0xc0,0x4f,0x72,0xd9,0x80); +DEFINE_GUID(CLSID_LegacyAmFilterCategory,0x083863f1,0x70de,0x11d0,0xbd,0x40,0x00,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(CLSID_Line21Decoder,0x6e8d4a20,0x310c,0x11d0,0xb7,0x9a,0x00,0xaa,0x00,0x37,0x67,0xa7); +DEFINE_GUID(CLSID_Line21Decoder2,0xe4206432,0x01a1,0x4bee,0xb3,0xe1,0x37,0x02,0xc8,0xed,0xc5,0x74); +DEFINE_GUID(CLSID_Locator,0x0888c883,0xac4f,0x4943,0xb5,0x16,0x2c,0x38,0xd9,0xb3,0x45,0x62); +DEFINE_GUID(CLSID_MediaDet,0x65bd0711,0x24d2,0x4ff7,0x93,0x24,0xed,0x2e,0x5d,0x3a,0xba,0xfa); +DEFINE_GUID(CLSID_MediaEncoderCategory,0x7d22e920,0x5ca9,0x4787,0x8c,0x2b,0xa6,0x77,0x9b,0xd1,0x17,0x81); +DEFINE_GUID(CLSID_MediaLocator,0xcc1101f2,0x79dc,0x11d2,0x8c,0xe6,0x00,0xa0,0xc9,0x44,0x1e,0x20); +DEFINE_GUID(CLSID_MediaMultiplexerCategory,0x236c9559,0xadce,0x4736,0xbf,0x72,0xba,0xb3,0x4e,0x39,0x21,0x96); +DEFINE_GUID(CLSID_MediaPropertyBag,0xcdbd8d00,0xc193,0x11d0,0xbd,0x4e,0x00,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(CLSID_MemoryAllocator,0x1e651cc0,0xb199,0x11d0,0x82,0x12,0x00,0xc0,0x4f,0xc3,0x2c,0x45); +DEFINE_GUID(CLSID_MidiRendererCategory,0x4efe2452,0x168a,0x11d1,0xbc,0x76,0x00,0xc0,0x4f,0xb9,0x45,0x3b); +DEFINE_GUID(CLSID_MjpegDec,0x301056d0,0x6dff,0x11d2,0x9e,0xeb,0x00,0x60,0x08,0x03,0x9e,0x37); +DEFINE_GUID(CLSID_MJPGEnc,0xb80ab0a0,0x7416,0x11d2,0x9e,0xeb,0x00,0x60,0x08,0x03,0x9e,0x37); +DEFINE_GUID(CLSID_MMSPLITTER,0x3ae86b20,0x7be8,0x11d1,0xab,0xe6,0x00,0xa0,0xc9,0x05,0xf3,0x75); +DEFINE_GUID(CLSID_ModexProperties,0x0618aa30,0x6bc4,0x11cf,0xbf,0x36,0x00,0xaa,0x00,0x55,0x59,0x5a); +DEFINE_GUID(CLSID_ModexRenderer,0x07167665,0x5011,0x11cf,0xbf,0x33,0x00,0xaa,0x00,0x55,0x59,0x5a); +DEFINE_GUID(CLSID_MOVReader,0x44584800,0xf8ee,0x11ce,0xb2,0xd4,0x00,0xdd,0x01,0x10,0x1b,0x85); +DEFINE_GUID(CLSID_MPEG1Doc,0xe4bbd160,0x4269,0x11ce,0x83,0x8d,0x00,0xaa,0x00,0x55,0x59,0x5a); +DEFINE_GUID(CLSID_MPEG1PacketPlayer,0x26c25940,0x4ca9,0x11ce,0xa8,0x28,0x00,0xaa,0x00,0x2f,0xea,0xb5); +DEFINE_GUID(CLSID_MPEG1Splitter,0x336475d0,0x942a,0x11ce,0xa8,0x70,0x00,0xaa,0x00,0x2f,0xea,0xb5); +DEFINE_GUID(CLSID_MPEG2Component,0x055cb2d7,0x2969,0x45cd,0x91,0x4b,0x76,0x89,0x07,0x22,0xf1,0x12); +DEFINE_GUID(CLSID_MPEG2ComponentType,0x418008f3,0xcf67,0x4668,0x96,0x28,0x10,0xdc,0x52,0xbe,0x1d,0x08); +DEFINE_GUID(CLSID_MPEG2Demultiplexer,0xafb6c280,0x2c41,0x11d3,0x8a,0x60,0x00,0x00,0xf8,0x1e,0x0e,0x4a); +DEFINE_GUID(CLSID_MPEG2TuneRequest,0x0955ac62,0xbf2e,0x4cba,0xa2,0xb9,0xa6,0x3f,0x77,0x2d,0x46,0xcf); +DEFINE_GUID(CLSID_MPEG2TuneRequestFactory,0x2c63e4eb,0x4cea,0x41b8,0x91,0x9c,0xe9,0x47,0xea,0x19,0xa7,0x7c); +DEFINE_GUID(CLSID_Mpeg2VideoStreamAnalyzer,0x6cfad761,0x735d,0x4aa5,0x8a,0xfc,0xaf,0x91,0xa7,0xd6,0x1e,0xba); +DEFINE_GUID(CLSID_MSEventBinder,0x577faa18,0x4518,0x445e,0x8f,0x70,0x14,0x73,0xf8,0xcf,0x4b,0xa4); +DEFINE_GUID(CLSID_MSVidAnalogCaptureToDataServices,0xc5702cd6,0x9b79,0x11d3,0xb6,0x54,0x00,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(CLSID_MSVidAnalogCaptureToOverlayMixer,0xe18af75a,0x08af,0x11d3,0xb6,0x4a,0x00,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(CLSID_MSVidAnalogCaptureToStreamBufferSink,0x9f50e8b1,0x9530,0x4ddc,0x82,0x5e,0x1a,0xf8,0x1d,0x47,0xae,0xd6); +DEFINE_GUID(CLSID_MSVidAnalogCaptureToXDS,0x3540d440,0x5b1d,0x49cb,0x82,0x1a,0xe8,0x4b,0x8c,0xf0,0x65,0xa7); +DEFINE_GUID(CLSID_MSVidAnalogTunerDevice,0x1c15d484,0x911d,0x11d2,0xb6,0x32,0x00,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(CLSID_MSVidAnalogTVToEncoder,0x28953661,0x231,0x41db,0x89,0x86,0x21,0xff,0x43,0x88,0xee,0x9b); +DEFINE_GUID(CLSID_MSVidAudioRenderer,0x37b03544,0xa4c8,0x11d2,0xb6,0x34,0x00,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(CLSID_MSVidAudioRendererDevices,0xc5702ccf,0x9b79,0x11d3,0xb6,0x54,0x00,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(CLSID_MSVidBDATunerDevice,0xa2e3074e,0x6c3d,0x11d3,0xb6,0x53,0x00,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(CLSID_MSVidCAGSeg,0x1600f101,0x6666,0x4f66,0xb1,0xe2,0xbf,0x3c,0x9f,0xbb,0x9b,0xa6); +DEFINE_GUID(CLSID_MSVidClosedCaptioning,0x7f9cb14d,0x48e4,0x43b6,0x93,0x46,0x1a,0xeb,0xc3,0x9c,0x64,0xd3); +DEFINE_GUID(CLSID_MSVidCtl,0xb0edf163,0x910a,0x11d2,0xb6,0x32,0x00,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(CLSID_MSVidDataServices,0x334125c0,0x77e5,0x11d3,0xb6,0x53,0x00,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(CLSID_MSVidDataServicesToStreamBufferSink,0x38f03426,0xe83b,0x4e68,0xb6,0x5b,0xdc,0xae,0x73,0x30,0x48,0x38); +DEFINE_GUID(CLSID_MSVidDataServicesToXDS,0x429ec6e,0x1144,0x4bed,0xb8,0x8b,0x2f,0xb9,0x89,0x9a,0x4a,0x3d); +DEFINE_GUID(CLSID_MSVidDevice,0x6e40476f,0x9c49,0x4c3e,0x8b,0xb9,0x85,0x87,0x95,0x8e,0xff,0x74); +DEFINE_GUID(CLSID_MSVidDigitalCaptureToStreamBufferSink,0xabe40035,0x27c3,0x4a2f,0x81,0x53,0x66,0x24,0x47,0x16,0x8,0xaf); +DEFINE_GUID(CLSID_MSVidEncoder,0xbb530c63,0xd9df,0x4b49,0x94,0x39,0x63,0x45,0x39,0x62,0xe5,0x98); +DEFINE_GUID(CLSID_MSVidEncoderToStreamBufferSink,0xa0b9b497,0xafbc,0x45ad,0xa8,0xa6,0x9b,0x7,0x7c,0x40,0xd4,0xf2); +DEFINE_GUID(CLSID_MSVidFeature,0x7748530b,0xc08a,0x47ea,0xb2,0x4c,0xbe,0x86,0x95,0xff,0x40,0x5f); +DEFINE_GUID(CLSID_MSVidFeatures,0xc5702cd0,0x9b79,0x11d3,0xb6,0x54,0x00,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(CLSID_MSVidFilePlaybackDevice,0x37b0353c,0xa4c8,0x11d2,0xb6,0x34,0x00,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(CLSID_MSVidFilePlaybackToAudioRenderer,0xcc23f537,0x18d4,0x4ece,0x93,0xbd,0x20,0x7a,0x84,0x72,0x69,0x79); +DEFINE_GUID(CLSID_MSVidFilePlaybackToVideoRenderer,0xb401c5eb,0x8457,0x427f,0x84,0xea,0xa4,0xd2,0x36,0x33,0x64,0xb0); +DEFINE_GUID(CLSID_MSVidGenericComposite,0x2764bce5,0xcc39,0x11d2,0xb6,0x39,0x00,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(CLSID_MSVidInputDevice,0xac1972f2,0x138a,0x4ca3,0x90,0xda,0xae,0x51,0x11,0x2e,0xda,0x28); +DEFINE_GUID(CLSID_MSVidInputDevices,0xc5702ccc,0x9b79,0x11d3,0xb6,0x54,0x00,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(CLSID_MSVidMPEG2DecoderToClosedCaptioning,0x6ad28ee1,0x5002,0x4e71,0xaa,0xf7,0xbd,0x07,0x79,0x07,0xb1,0xa4); +DEFINE_GUID(CLSID_MSVidOutput,0x87eb890d,0x03ad,0x4e9d,0x98,0x66,0x37,0x6e,0x5e,0xc5,0x72,0xed); +DEFINE_GUID(CLSID_MSVidOutputDevices,0xc5702ccd,0x9b79,0x11d3,0xb6,0x54,0x00,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(CLSID_MSVidRect,0xcb4276e6,0x7d5f,0x4cf1,0x97,0x27,0x62,0x9c,0x5e,0x6d,0xb6,0xae); +DEFINE_GUID(CLSID_MSVidRenderFactory,0x11973c25,0x3529,0x40e4,0x9a,0xb1,0xdd,0xc1,0x64,0xcb,0xef,0x49); +DEFINE_GUID(CLSID_MSVidSBESourceToCC,0x9193a8f9,0xcba,0x400e,0xaa,0x97,0xeb,0x47,0x9,0x16,0x45,0x76); +DEFINE_GUID(CLSID_MSVidStreamBufferRecordingControl,0xcaafdd83,0xcefc,0x4e3d,0xba,0x3,0x17,0x5f,0x17,0xa2,0x4f,0x91); +DEFINE_GUID(CLSID_MSVidStreamBufferSink,0x9e77aac4,0x35e5,0x42a1,0xbd,0xc2,0x8f,0x3f,0xf3,0x99,0x84,0x7c); +DEFINE_GUID(CLSID_MSVidStreamBufferSource,0xad8e510d,0x217f,0x409b,0x80,0x76,0x29,0xc5,0xe7,0x3b,0x98,0xe8); +DEFINE_GUID(CLSID_MSVidStreamBufferSourceToVideoRenderer,0x3c4708dc,0xb181,0x46a8,0x8d,0xa8,0x4a,0xb0,0x37,0x17,0x58,0xcd); +DEFINE_GUID(CLSID_MSVidTVEGSeg,0x1600f001,0x6666,0x4f66,0xb1,0xe2,0xbf,0x3c,0x9f,0xbb,0x9b,0xa6); +DEFINE_GUID(CLSID_MSVidVideoInputDevice,0x95f4820b,0xbb3a,0x4e2d,0xbc,0x64,0x5b,0x81,0x7b,0xc2,0xc3,0x0e); +DEFINE_GUID(CLSID_MSVidVideoPlaybackDevice,0x1990d634,0x1a5e,0x4071,0xa3,0x4a,0x53,0xaa,0xff,0xce,0x9f,0x36); +DEFINE_GUID(CLSID_MSVidVideoRenderer,0x37b03543,0xa4c8,0x11d2,0xb6,0x34,0x00,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(CLSID_MSVidVideoRendererDevices,0xc5702cce,0x9b79,0x11d3,0xb6,0x54,0x00,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(CLSID_MSVidWebDVD,0x011b3619,0xfe63,0x4814,0x8a,0x84,0x15,0xa1,0x94,0xce,0x9c,0xe3); +DEFINE_GUID(CLSID_MSVidWebDVDAdm,0xfa7c375b,0x66a7,0x4280,0x87,0x9d,0xfd,0x45,0x9c,0x84,0xbb,0x02); +DEFINE_GUID(CLSID_MSVidWebDVDToAudioRenderer,0x8d04238e,0x9fd1,0x41c6,0x8d,0xe3,0x9e,0x1e,0xe3,0x9,0xe9,0x35); +DEFINE_GUID(CLSID_MSVidWebDVDToVideoRenderer,0x267db0b3,0x55e3,0x4902,0x94,0x9b,0xdf,0x8f,0x5c,0xec,0x01,0x91); +DEFINE_GUID(CLSID_MSVidXDS,0x149eedf,0xd08f,0x4142,0x8d,0x73,0xd2,0x39,0x3,0xd2,0x1e,0x90); +DEFINE_GUID(CLSID_NullRenderer,0xc1f400a4,0x3f08,0x11d3,0x9f,0x0b,0x00,0x60,0x08,0x03,0x9e,0x37); +DEFINE_GUID(CLSID_OverlayMixer,0xcd8743a1,0x3736,0x11d0,0x9e,0x69,0x00,0xc0,0x4f,0xd7,0xc1,0x5b); +DEFINE_GUID(CLSID_PerformanceProperties,0x59ce6880,0xacf8,0x11cf,0xb5,0x6e,0x00,0x80,0xc7,0xc4,0xb6,0x8a); +DEFINE_GUID(CLSID_PersistMonikerPID,0xe436ebb7,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70); +DEFINE_GUID(CLSID_PropertySetter,0xadf95821,0xded7,0x11d2,0xac,0xbe,0x00,0x80,0xc7,0x5e,0x24,0x6e); +DEFINE_GUID(CLSID_ProtoFilterGraph,0xe436ebb0,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70); +DEFINE_GUID(CLSID_QTDec,0xfdfe9681,0x74a3,0x11d0,0xaf,0xa7,0x00,0xaa,0x00,0xb6,0x7a,0x42); +DEFINE_GUID(CLSID_QualityProperties,0x418afb70,0xf8b8,0x11ce,0xaa,0xc6,0x00,0x20,0xaf,0x0b,0x99,0xa3); +DEFINE_GUID(CLSID_QuickTimeParser,0xd51bd5a0,0x7548,0x11cf,0xa5,0x20,0x00,0x80,0xc7,0x7e,0xf5,0x8a); +DEFINE_GUID(CLSID_RenderEngine,0x64d8a8e0,0x80a2,0x11d2,0x8c,0xf3,0x00,0xa0,0xc9,0x44,0x1e,0x20); +DEFINE_GUID(CLSID_SampleGrabber,0xc1f400a0,0x3f08,0x11d3,0x9f,0x0b,0x00,0x60,0x08,0x03,0x9e,0x37); +DEFINE_GUID(CLSID_SeekingPassThru,0x060af76c,0x68dd,0x11d0,0x8f,0xc1,0x00,0xc0,0x4f,0xd9,0x18,0x9d); +DEFINE_GUID(CLSID_SmartRenderEngine,0x498b0949,0xbbe9,0x4072,0x98,0xbe,0x6c,0xca,0xeb,0x79,0xdc,0x6f); +DEFINE_GUID(CLSID_SmartTee,0xcc58e280,0x8aa1,0x11d1,0xb3,0xf1,0x00,0xaa,0x00,0x37,0x61,0xc5); +DEFINE_GUID(CLSID_StreamBufferComposeRecording,0xd682c4ba,0xa90a,0x42fe,0xb9,0xe1,0x3,0x10,0x98,0x49,0xc4,0x23); +DEFINE_GUID(CLSID_StreamBufferConfig,0xfa8a68b2,0xc864,0x4ba2,0xad,0x53,0xd3,0x87,0x6a,0x87,0x49,0x4b); +DEFINE_GUID(CLSID_StreamBufferRecordingAttributes,0xccaa63ac,0x1057,0x4778,0xae,0x92,0x12,0x6,0xab,0x9a,0xce,0xe6); +DEFINE_GUID(CLSID_StreamBufferSink,0x2db47ae5,0xcf39,0x43c2,0xb4,0xd6,0xc,0xd8,0xd9,0x9,0x46,0xf4); +DEFINE_GUID(CLSID_StreamBufferSource,0xc9f5fe02,0xf851,0x4eb5,0x99,0xee,0xad,0x60,0x2a,0xf1,0xe6,0x19); +DEFINE_GUID(CLSID_SystemClock,0xe436ebb1,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70); +DEFINE_GUID(CLSID_SystemDeviceEnum,0x62be5d10,0x60eb,0x11d0,0xbd,0x3b,0x00,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(CLSID_SystemTuningSpaces,0xd02aac50,0x027e,0x11d3,0x9d,0x8e,0x00,0xc0,0x4f,0x72,0xd9,0x80); +DEFINE_GUID(CLSID_TextRender,0xe30629d3,0x27e5,0x11ce,0x87,0x5d,0x00,0x60,0x8c,0xb7,0x80,0x66); +DEFINE_GUID(CLSID_TIFLoad,0x14eb8748,0x1753,0x4393,0x95,0xae,0x4f,0x7e,0x7a,0x87,0xaa,0xd6); +DEFINE_GUID(CLSID_TransmitCategory,0xcc7bfb41,0xf175,0x11d1,0xa3,0x92,0x00,0xe0,0x29,0x1f,0x39,0x59); +DEFINE_GUID(CLSID_TuneRequest,0xb46e0d38,0xab35,0x4a06,0xa1,0x37,0x70,0x57,0x6b,0x01,0xb3,0x9f); +DEFINE_GUID(CLSID_TuningSpace,0x5ffdc5e6,0xb83a,0x4b55,0xb6,0xe8,0xc6,0x9e,0x76,0x5f,0xe9,0xdb); +DEFINE_GUID(CLSID_TVAudioFilterPropertyPage,0x71f96463,0x78f3,0x11d0,0xa1,0x8c,0x00,0xa0,0xc9,0x11,0x89,0x56); +DEFINE_GUID(CLSID_TVEAttrMap,0x05500021,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVEAttrTimeQ,0x05500022,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVECBAnnc,0x05500041,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVECBDummy,0x05500049,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVECBFile,0x05500043,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVECBTrig,0x05500042,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVEEnhancement,0x05500004,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVEEnhancements,0x05500014,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVEFeature,0x05500025,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVEFile,0x05500050,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVEFilter,0x05500080,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVEFilterCCProperties,0x05500282,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVEFilterStatsProperties,0x05500283,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVEFilterTuneProperties,0x05500281,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVEMCast,0x05500030,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVEMCastCallback,0x05500040,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVEMCastManager,0x05500032,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVEMCasts,0x05500031,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVENavAid,0x05500070,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVEService,0x05500005,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVEServices,0x05500015,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVESupervisor,0x05500006,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVETrack,0x05500002,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVETrigger,0x05500001,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVETriggerCtrl,0x05500090,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVEVariation,0x05500003,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(CLSID_TVTunerFilterPropertyPage,0x266eee41,0x6c63,0x11cf,0x8a,0x03,0x00,0xaa,0x00,0x6e,0xcb,0x65); +DEFINE_GUID(CLSID_URLReader,0xe436ebb6,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70); +DEFINE_GUID(CLSID_VBISurfaces,0x814b9800,0x1c88,0x11d1,0xba,0xd9,0x00,0x60,0x97,0x44,0x11,0x1a); +DEFINE_GUID(CLSID_VfwCapture,0x1b544c22,0xfd0b,0x11ce,0x8c,0x63,0x00,0xaa,0x00,0x44,0xb5,0x1e); +DEFINE_GUID(CLSID_VideoCompressorCategory,0x33d9a760,0x90c8,0x11d0,0xbd,0x43,0x00,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(CLSID_VideoInputDeviceCategory,0x860bb310,0x5d01,0x11d0,0xbd,0x3b,0x00,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(CLSID_VideoMixingRenderer,0xb87beb7b,0x8d29,0x423f,0xae,0x4d,0x65,0x82,0xc1,0x01,0x75,0xac); +DEFINE_GUID(CLSID_VideoMixingRenderer9,0x51b4abf3,0x748f,0x4e3b,0xa2,0x76,0xc8,0x28,0x33,0xe,0x92,0x6a); +DEFINE_GUID(CLSID_VideoPortManager,0x6f26a6cd,0x967b,0x47fd,0x87,0x4a,0x7a,0xed,0x2c,0x9d,0x25,0xa2); +DEFINE_GUID(CLSID_VideoProcAmpPropertyPage,0x71f96464,0x78f3,0x11d0,0xa1,0x8c,0x00,0xa0,0xc9,0x11,0x89,0x56); +DEFINE_GUID(CLSID_VideoRenderer,0x70e102b0,0x5556,0x11ce,0x97,0xc0,0x00,0xaa,0x00,0x55,0x59,0x5a); +DEFINE_GUID(CLSID_VideoRendererDefault,0x6bc1cffa,0x8fc1,0x4261,0xac,0x22,0xcf,0xb4,0xcc,0x38,0xdb,0x50); +DEFINE_GUID(CLSID_VideoStreamConfigPropertyPage,0x71f96467,0x78f3,0x11d0,0xa1,0x8c,0x00,0xa0,0xc9,0x11,0x89,0x56); +DEFINE_GUID(CLSID_VPObject,0xce292861,0xfc88,0x11d0,0x9e,0x69,0x00,0xc0,0x4f,0xd7,0xc1,0x5b); +DEFINE_GUID(CLSID_VPVBIObject,0x814b9801,0x1c88,0x11d1,0xba,0xd9,0x00,0x60,0x97,0x44,0x11,0x1a); +DEFINE_GUID(CLSID_WMAsfReader,0x187463a0,0x5bb7,0x11d3,0xac,0xbe,0x00,0x80,0xc7,0x5e,0x24,0x6e); +DEFINE_GUID(CLSID_WMAsfWriter,0x7c23220e,0x55bb,0x11d3,0x8b,0x16,0x00,0xc0,0x4f,0xb6,0xbd,0x3d); +DEFINE_GUID(CLSID_WSTDecoder,0x70bc06e0,0x5666,0x11d3,0xa1,0x84,0x00,0x10,0x5a,0xef,0x9f,0x33); +DEFINE_GUID(CLSID_WstDecoderPropertyPage,0x04e27f80,0x91e4,0x11d3,0xa1,0x84,0x00,0x10,0x5a,0xef,0x9f,0x33); +DEFINE_GUID(CLSID_XDSCodec,0xc4c4c4f3,0x49,0x4e2b,0x98,0xfb,0x95,0x37,0xf6,0xce,0x51,0x6d); +DEFINE_GUID(CLSID_XDSToRat,0xc5c5c5f0,0x3abc,0x11d6,0xb2,0x5b,0,0xc0,0x4f,0xa0,0xc0,0x26); +DEFINE_GUID(CLSID_Xml2Dex,0x18c628ee,0x962a,0x11d2,0x8d,0x08,0x00,0xa0,0xc9,0x44,0x1e,0x20); +DEFINE_GUID(CODECAPI_ALLSETTINGS,0x6a577e92,0x83e1,0x4113,0xad,0xc2,0x4f,0xce,0xc3,0x2f,0x83,0xa1); +DEFINE_GUID(CODECAPI_AUDIO_ENCODER,0xb9d19a3e,0xf897,0x429c,0xbc,0x46,0x81,0x38,0xb7,0x27,0x2b,0x2d); +DEFINE_GUID(CODECAPI_CURRENTCHANGELIST,0x1cb14e83,0x7d72,0x4657,0x83,0xfd,0x47,0xa2,0xc5,0xb9,0xd1,0x3d); +DEFINE_GUID(CODECAPI_CHANGELISTS,0x62b12acf,0xf6b0,0x47d9,0x94,0x56,0x96,0xf2,0x2c,0x4e,0xb,0x9d); +DEFINE_GUID(CODECAPI_SETALLDEFAULTS,0x6c5e6a7c,0xacf8,0x4f55,0xa9,0x99,0x1a,0x62,0x81,0x9,0x5,0x1b); +DEFINE_GUID(CODECAPI_SUPPORTSEVENTS,0x581af97,0x7693,0x4dbd,0x9d,0xca,0x3f,0x9e,0xbd,0x65,0x85,0xa1); +DEFINE_GUID(CODECAPI_VIDEO_ENCODER,0x7112e8e1,0x3d03,0x47ef,0x8e,0x60,0x3,0xf1,0xcf,0x53,0x73,0x1); +DEFINE_GUID(DIID__ICAComponentsEvents,0x11166260,0xdf8a,0x463a,0xb6,0x20,0x7b,0xec,0x23,0x54,0x20,0x10); +DEFINE_GUID(DIID__ICADefaultDlgEvents,0x11166991,0xdf8a,0x463a,0xb6,0x20,0x7b,0xec,0x23,0x54,0x20,0x10); +DEFINE_GUID(DIID__ICADenialsEvents,0x11166240,0xdf8a,0x463a,0xb6,0x20,0x7b,0xec,0x23,0x54,0x20,0x10); +DEFINE_GUID(DIID__ICAManagerEvents,0x11166200,0xdf8a,0x463a,0xb6,0x20,0x7b,0xec,0x23,0x54,0x20,0x10); +DEFINE_GUID(DIID__ICAOffersEvents,0x11166250,0xdf8a,0x463a,0xb6,0x20,0x7b,0xec,0x23,0x54,0x20,0x10); +DEFINE_GUID(DIID__ICAPoliciesEvents,0x11166220,0xdf8a,0x463a,0xb6,0x20,0x7b,0xec,0x23,0x54,0x20,0x10); +DEFINE_GUID(DIID__ICARequestEvents,0x11166210,0xdf8a,0x463a,0xb6,0x20,0x7b,0xec,0x23,0x54,0x20,0x10); +DEFINE_GUID(DIID__ICAResDenialTreeEvents,0x11166298,0xdf8a,0x463a,0xb6,0x20,0x7b,0xec,0x23,0x54,0x20,0x10); +DEFINE_GUID(DIID__ICATollsEvents,0x11166230,0xdf8a,0x463a,0xb6,0x20,0x7b,0xec,0x23,0x54,0x20,0x10); +DEFINE_GUID(DIID__IMSVidCtlEvents,0xb0edf164,0x910a,0x11d2,0xb6,0x32,0,0xc0,0x4f,0x79,0x49,0x8e); +DEFINE_GUID(DIID__ITVEEvents,0x05500000,0xfaa5,0x4df9,0x82,0x46,0xbf,0xc2,0x3a,0xc5,0xce,0xa8); +DEFINE_GUID(DIID__ITVETriggerCtrlEvents,0x05500091,0xfaa5,0x4df9,0x82,0x46,0xbf... [truncated message content] |
From: <dan...@us...> - 2009-01-28 20:30:53
|
Revision: 1209 http://cegcc.svn.sourceforge.net/cegcc/?rev=1209&view=rev Author: dannybackx Date: 2009-01-28 20:30:50 +0000 (Wed, 28 Jan 2009) Log Message: ----------- Add stuff submitted by Ryan Raasch for adding a bunch of device management APIs. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winbase.h trunk/cegcc/src/w32api/libce/coredll.def Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2009-01-27 19:51:50 UTC (rev 1208) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2009-01-28 20:30:50 UTC (rev 1209) @@ -1,3 +1,10 @@ +2009-01.28 Ryan Raasch <rya...@gm...> + + * libce/coredll.def, include/winbase.h : Add various definitions to + support EnumDeviceInterfaces, EnumDevices, FindFirstDevice, + FindNextDevice, GetDeviceInformationByDeviceHandle, + GetDeviceInformationByFileHandle. + 2009-01-27 Danny Backx <dan...@us...> * include/winsock.h, include/winsock2.h: Add various macros to define Modified: trunk/cegcc/src/w32api/include/winbase.h =================================================================== --- trunk/cegcc/src/w32api/include/winbase.h 2009-01-27 19:51:50 UTC (rev 1208) +++ trunk/cegcc/src/w32api/include/winbase.h 2009-01-28 20:30:50 UTC (rev 1209) @@ -940,6 +940,25 @@ DWORD dwTotalVirtual; DWORD dwAvailVirtual; } MEMORYSTATUS,*LPMEMORYSTATUS; + +#if (_WIN32_WCE >= 0x0500) +typedef enum { + DeviceSearchByLegacyName, + DeviceSearchByDeviceName, + DeviceSearchByBusName, + DeviceSearchByGuid, + DeviceSearchByParent +} DeviceSearchType; +typedef struct _DevmgrDeviceInformation_tag { + DWORD dwSize; + HANDLE hDevice; + HANDLE hParentDevice; + WCHAR szLegacyName[6]; + WCHAR szDeviceKey[MAX_PATH]; + WCHAR szDeviceName[MAX_PATH]; + WCHAR szBusName[MAX_PATH]; +} DEVMGR_DEVICE_INFORMATION, *PDEVMGR_DEVICE_INFORMATION; +#endif #if (_WIN32_WINNT >= 0x0500) typedef struct _MEMORYSTATUSEX { DWORD dwLength; @@ -1354,6 +1373,10 @@ WINBASEAPI BOOL WINAPI EndUpdateResourceA(HANDLE,BOOL); WINBASEAPI BOOL WINAPI EndUpdateResourceW(HANDLE,BOOL); WINBASEAPI void WINAPI EnterCriticalSection(LPCRITICAL_SECTION); +# if (_WIN32_WCE >= 0x0500) +WINBASEAPI BOOL WINAPI EnumDeviceInterfaces(HANDLE, DWORD, GUID*, LPWSTR, LPDWORD); +WINBASEAPI DWORD EnumDevices(LPTSTR lpszDevList, LPDWORD lpBuflen); +#endif WINBASEAPI BOOL WINAPI EnumResourceLanguagesA(HMODULE,LPCSTR,LPCSTR,ENUMRESLANGPROC,LONG_PTR); WINBASEAPI BOOL WINAPI EnumResourceLanguagesW(HMODULE,LPCWSTR,LPCWSTR,ENUMRESLANGPROC,LONG_PTR); WINBASEAPI BOOL WINAPI EnumResourceNamesA(HMODULE,LPCSTR,ENUMRESNAMEPROC,LONG_PTR); @@ -1391,6 +1414,10 @@ WINBASEAPI BOOL WINAPI FindCloseChangeNotification(HANDLE); WINBASEAPI HANDLE WINAPI FindFirstChangeNotificationA(LPCSTR,BOOL,DWORD); WINBASEAPI HANDLE WINAPI FindFirstChangeNotificationW(LPCWSTR,BOOL,DWORD); +# if (_WIN32_WCE >= 0x0500) +WINBASEAPI HANDLE WINAPI FindFirstDevice( DeviceSearchType,LPCVOID, PDEVMGR_DEVICE_INFORMATION); +WINBASEAPI BOOL WINAPI FindNextDevice( HANDLE, PDEVMGR_DEVICE_INFORMATION ); +#endif WINBASEAPI HANDLE WINAPI FindFirstFileA(LPCSTR,LPWIN32_FIND_DATAA); WINBASEAPI HANDLE WINAPI FindFirstFileW(LPCWSTR,LPWIN32_FIND_DATAW); WINBASEAPI HANDLE WINAPI FindFirstFileExA(LPCSTR,FINDEX_INFO_LEVELS,PVOID,FINDEX_SEARCH_OPS,PVOID,DWORD); @@ -1476,6 +1503,10 @@ WINBASEAPI BOOL WINAPI GetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,PDWORD); WINBASEAPI BOOL WINAPI GetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,PDWORD); WINBASEAPI BOOL WINAPI GetDevicePowerState(HANDLE, BOOL*); +# if (_WIN32_WCE >= 0x0500) +WINBASEAPI BOOL WINAPI GetDeviceInformationByDeviceHandle( HANDLE, PDEVMGR_DEVICE_INFORMATION); +WINBASEAPI BOOL WINAPI GetDeviceInformationByFileHandle( HANDLE, PDEVMGR_DEVICE_INFORMATION); +#endif WINBASEAPI BOOL WINAPI GetDiskFreeSpaceA(LPCSTR,PDWORD,PDWORD,PDWORD,PDWORD); WINBASEAPI BOOL WINAPI GetDiskFreeSpaceW(LPCWSTR,PDWORD,PDWORD,PDWORD,PDWORD); WINBASEAPI BOOL WINAPI GetDiskFreeSpaceExA(LPCSTR,PULARGE_INTEGER,PULARGE_INTEGER,PULARGE_INTEGER); Modified: trunk/cegcc/src/w32api/libce/coredll.def =================================================================== --- trunk/cegcc/src/w32api/libce/coredll.def 2009-01-27 19:51:50 UTC (rev 1208) +++ trunk/cegcc/src/w32api/libce/coredll.def 2009-01-28 20:30:50 UTC (rev 1209) @@ -290,6 +290,7 @@ EnumCalendarInfoW EnumClipboardFormats EnumDateFormatsW +EnumDeviceInterfaces EnumDevices EnumDisplayDevices EnumDisplayMonitors @@ -326,6 +327,8 @@ FindFirstChangeNotificationW FindFirstFileExW FindFirstFileW +FindFirstDevice +FindNextDevice FindNextChangeNotification FindNextFileW FindResource @@ -393,6 +396,8 @@ GetDesktopWindow GetDeviceByIndex GetDeviceCaps +GetDeviceInformationByDeviceHandle +GetDeviceInformationByFileHandle GetDeviceKeys GetDevicePower GetDialogBaseUnits This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-01-27 19:51:55
|
Revision: 1208 http://cegcc.svn.sourceforge.net/cegcc/?rev=1208&view=rev Author: dannybackx Date: 2009-01-27 19:51:50 +0000 (Tue, 27 Jan 2009) Log Message: ----------- Add various constant definitions for Bluetooth, from MSDN. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winsock.h trunk/cegcc/src/w32api/include/winsock2.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2009-01-25 13:41:11 UTC (rev 1207) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2009-01-27 19:51:50 UTC (rev 1208) @@ -1,3 +1,8 @@ +2009-01-27 Danny Backx <dan...@us...> + + * include/winsock.h, include/winsock2.h: Add various macros to define + constants used for Bluetooth. + 2009-01-25 Danny Backx <dan...@us...> * include/pm.h: Merge with version submitted by Lars Munch. Modified: trunk/cegcc/src/w32api/include/winsock.h =================================================================== --- trunk/cegcc/src/w32api/include/winsock.h 2009-01-25 13:41:11 UTC (rev 1207) +++ trunk/cegcc/src/w32api/include/winsock.h 2009-01-27 19:51:50 UTC (rev 1208) @@ -164,8 +164,12 @@ #define IPPROTO_UDP 17 #define IPPROTO_IDP 22 #define IPPROTO_ND 77 +#define IPPROTO_RM 113 #define IPPROTO_RAW 255 #define IPPROTO_MAX 256 + +#define BTHPROTO_RFCOMM 3 + #define IPPORT_ECHO 7 #define IPPORT_DISCARD 9 #define IPPORT_SYSTAT 11 @@ -317,8 +321,14 @@ #define AF_BAN 21 #define AF_ATM 22 #define AF_INET6 23 +#ifdef _WIN32_WCE +#define AF_IRDA 22 +#else +#define AF_IRDA 26 +#endif +#define AF_BTH 32 #if !(defined (__INSIDE_CYGWIN__) || defined (__INSIDE_MSYS__)) -#define AF_MAX 24 +#define AF_MAX 33 struct sockaddr { u_short sa_family; char sa_data[14]; @@ -354,6 +364,8 @@ #define PF_BAN AF_BAN #define PF_ATM AF_ATM #define PF_INET6 AF_INET6 +#define PF_IRDA AF_IRDA +#define PF_BTH AF_BTH #define PF_MAX AF_MAX #define SOL_SOCKET 0xffff #define SOMAXCONN 5 Modified: trunk/cegcc/src/w32api/include/winsock2.h =================================================================== --- trunk/cegcc/src/w32api/include/winsock2.h 2009-01-25 13:41:11 UTC (rev 1207) +++ trunk/cegcc/src/w32api/include/winsock2.h 2009-01-27 19:51:50 UTC (rev 1208) @@ -184,6 +184,7 @@ #define IPPROTO_UDP 17 #define IPPROTO_IDP 22 #define IPPROTO_ND 77 +#define IPPROTO_RM 113 #define IPPROTO_RAW 255 #define IPPROTO_MAX 256 /* IPv6 options */ @@ -196,6 +197,9 @@ #define IPPROTO_ICMPV6 58 /* ICMPv6 */ #define IPPROTO_NONE 59 /* IPv6 no next header */ #define IPPROTO_DSTOPTS 60 /* IPv6 Destination options */ + +#define BTHPROTO_RFCOMM 3 + #define IPPORT_ECHO 7 #define IPPORT_DISCARD 9 #define IPPORT_SYSTAT 11 @@ -340,9 +344,10 @@ #else #define AF_IRDA 26 #endif +#define AF_BTH 32 #define AF_NETDES 28 #if !(defined (__INSIDE_CYGWIN__) || defined (__INSIDE_MSYS__)) -#define AF_MAX 29 +#define AF_MAX 33 struct sockaddr { u_short sa_family; char sa_data[14]; @@ -400,6 +405,8 @@ #define PF_BAN AF_BAN #define PF_ATM AF_ATM #define PF_INET6 AF_INET6 +#define PF_IRDA AF_IRDA +#define PF_BTH AF_BTH #define PF_MAX AF_MAX #define SOL_SOCKET 0xffff #if ! (defined (__INSIDE_CYGWIN__) || defined (__INSIDE_MSYS__)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-01-25 13:41:22
|
Revision: 1207 http://cegcc.svn.sourceforge.net/cegcc/?rev=1207&view=rev Author: dannybackx Date: 2009-01-25 13:41:11 +0000 (Sun, 25 Jan 2009) Log Message: ----------- Clear up the confusion, I hope. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winbase.h Added Paths: ----------- trunk/cegcc/src/w32api/include/msgqueue.h trunk/cegcc/src/w32api/include/pm.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2009-01-25 10:16:33 UTC (rev 1206) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2009-01-25 13:41:11 UTC (rev 1207) @@ -1,3 +1,12 @@ +2009-01-25 Danny Backx <dan...@us...> + + * include/pm.h: Merge with version submitted by Lars Munch. + * include/winbase.h: Move SetSystemPowerState to pm.h for CE. + +2009-01-11 Danny Backx <dan...@us...> + + * include/pm.h, include/msgqueue.h: Add. + 2008-10-07 Pedro Alves <ped...@us...> * include/secext.h (EXTENDED_NAME_FORMAT): Allow on _WIN32_WCE >= Added: trunk/cegcc/src/w32api/include/msgqueue.h =================================================================== --- trunk/cegcc/src/w32api/include/msgqueue.h (rev 0) +++ trunk/cegcc/src/w32api/include/msgqueue.h 2009-01-25 13:41:11 UTC (rev 1207) @@ -0,0 +1,48 @@ +/* + * msgqueue.h + */ +#ifndef _MSGQUEUE_H_ +#define _MSGQUEUE_H_ + +#if __GNUC__ >= 3 +#pragma GCC system_header +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct MSGQUEUEOPTIONS_OS { + DWORD dwSize; + DWORD dwFlags; + DWORD dwMaxMessages; + DWORD cbMaxMessage; + BOOL bReadAccess; +} MSGQUEUEOPTIONS, *LPMSGQUEUEOPTIONS, *PMSGQUEUEOPTIONS; + +typedef struct MSGQUEUEINFO { + DWORD dwSize; + DWORD dwFlags; + DWORD dwMaxMessages; + DWORD cbMaxMessage; + DWORD dwCurrentMessages; + DWORD dwMaxQueueMessages; + WORD wNumReaders; + WORD wNumWriters; +} MSGQUEUEINFO, *PMSGQUEUEINFO, *LPMSGQUEUEINFO; + +HANDLE CreateMsgQueue(LPCWSTR lpszName, LPMSGQUEUEOPTIONS lpOptions); +BOOL CloseMsgQueue(HANDLE hMsgQ); +BOOL ReadMsgQueue(HANDLE hMsgQ, LPVOID lpBuffer, + DWORD cbBufferSize, LPDWORD lpNumberOfBytesRead, + DWORD dwTimeout, DWORD *pdwFlags); + +#define MSGQUEUE_NOPRECOMMIT 1 /* ?? */ +#define MSGQUEUE_ALLOW_BROKEN 2 /* ?? */ + + +#ifdef __cplusplus +} +#endif + +#endif /* _MSGQUEUE_H_ */ Property changes on: trunk/cegcc/src/w32api/include/msgqueue.h ___________________________________________________________________ Added: svn:eol-style + native Added: trunk/cegcc/src/w32api/include/pm.h =================================================================== --- trunk/cegcc/src/w32api/include/pm.h (rev 0) +++ trunk/cegcc/src/w32api/include/pm.h 2009-01-25 13:41:11 UTC (rev 1207) @@ -0,0 +1,101 @@ +/* + * pm.h + */ +#ifndef _PM_H_ +#define _PM_H_ + +#if __GNUC__ >= 3 +#pragma GCC system_header +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +#if defined(_WIN32_WCE) && (_WIN32_WCE >= 0x0400) + +#define POWER_NAME (DWORD)(0x00000001) +#define POWER_FORCE (DWORD)(0x00001000) + +typedef enum _CEDEVICE_POWER_STATE { + PwrDeviceUnspecified = -1, + D0 = 0, + D1, + D2, + D3, + D4, + PwrDeviceMaximum +} CEDEVICE_POWER_STATE, *PCEDEVICE_POWER_STATE; + +typedef struct _POWER_CAPABILITIES { + UCHAR DeviceDx; + UCHAR WakeFromDx; + UCHAR InrushDx; + DWORD Power[5]; + DWORD Latency[5]; + DWORD Flags; +} POWER_CAPABILITIES, *PPOWER_CAPABILITIES; + +typedef struct { + DWORD Message; + DWORD Flags; + DWORD Length; + WCHAR SystemPowerState[1]; +} POWER_BROADCAST, *PPOWER_BROADCAST; + +typedef struct _POWER_BROADCAST_POWER_INFO { + DWORD dwBatteryLifeTime; + DWORD dwBatteryFullLifeTime; + DWORD dwBackupBatteryLifeTime; + DWORD dwBackupBatteryFullLifeTime; + BYTE bACLineStatus; + BYTE bBatteryFlag; + BYTE bBatteryLifePercent; + BYTE bBackupBatteryFlag; + BYTE bBackupBatteryLifePercent; +} POWER_BROADCAST_POWER_INFO, *PPOWER_BROADCAST_POWER_INFO; + +/* Power broadcast values are guessed by experimentation */ +#define PBT_RESUME 2 + +HANDLE SetPowerRequirement( + PVOID pvDevice, + CEDEVICE_POWER_STATE DeviceState, + ULONG DeviceFlags, + PVOID pvSystemState, + ULONG StateFlags); + +DWORD ReleasePowerRequirement(HANDLE hPowerReq); + +#define POWER_STATE(f) ((f) & 0xFFFF0000) // power state mask +#define POWER_STATE_ON (DWORD)(0x00010000) // on state +#define POWER_STATE_OFF (DWORD)(0x00020000) // no power, full off +#define POWER_STATE_CRITICAL (DWORD)(0x00040000) // critical off +#define POWER_STATE_BOOT (DWORD)(0x00080000) // boot state +#define POWER_STATE_IDLE (DWORD)(0x00100000) // idle state +#define POWER_STATE_SUSPEND (DWORD)(0x00200000) // suspend state +#define POWER_STATE_UNATTENDED (DWORD)(0x00400000) // Unattended state. +#define POWER_STATE_RESET (DWORD)(0x00800000) // reset state +#define POWER_STATE_USERIDLE (DWORD)(0x01000000) // user idle state +#define POWER_STATE_PASSWORD (DWORD)(0x10000000) // This state is password protected. + +HANDLE RequestPowerNotifications(HANDLE hMsgQ, DWORD Flags); +BOOL StopPowerNotifications(HANDLE h); + +DWORD DevicePowerNotify(PVOID,CEDEVICE_POWER_STATE,DWORD); +DWORD GetDevicePower(PVOID,DWORD,PCEDEVICE_POWER_STATE); +DWORD GetSystemPowerState(LPWSTR,DWORD,PDWORD); +HANDLE RegisterPowerRelationship(PVOID,PVOID,PPOWER_CAPABILITIES,DWORD); +DWORD ReleasePowerRelationship(HANDLE); +DWORD SetDevicePower(PVOID,DWORD,CEDEVICE_POWER_STATE); +DWORD SetSystemPowerState(LPCWSTR,DWORD,DWORD); + + +#endif /* _WIN32_WCE */ + +#ifdef __cplusplus +} +#endif + +#endif /* _PM_H_ */ + Property changes on: trunk/cegcc/src/w32api/include/pm.h ___________________________________________________________________ Added: svn:eol-style + native Modified: trunk/cegcc/src/w32api/include/winbase.h =================================================================== --- trunk/cegcc/src/w32api/include/winbase.h 2009-01-25 10:16:33 UTC (rev 1206) +++ trunk/cegcc/src/w32api/include/winbase.h 2009-01-25 13:41:11 UTC (rev 1207) @@ -2027,10 +2027,7 @@ WINBASEAPI BOOL WINAPI SetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR,BOOL,PACL,BOOL); WINBASEAPI BOOL WINAPI SetStdHandle(DWORD,HANDLE); #define SetSwapAreaSize(w) (w) -#if (_WIN32_WCE >= 0x0400) -WINBASEAPI DWORD WINAPI SetSystemPowerState(LPCWSTR, DWORD, DWORD); -#else -/* Only on Windows Server 2008, Windows Server 2003, or Windows 2000 Server. */ +#if !defined (_WIN32_WCE) WINBASEAPI BOOL WINAPI SetSystemPowerState(BOOL,BOOL); #endif WINBASEAPI BOOL WINAPI SetSystemTime(const SYSTEMTIME*); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-01-25 10:16:37
|
Revision: 1206 http://cegcc.svn.sourceforge.net/cegcc/?rev=1206&view=rev Author: dannybackx Date: 2009-01-25 10:16:33 +0000 (Sun, 25 Jan 2009) Log Message: ----------- Update emulator links Modified Paths: -------------- trunk/cegcc/docs/faq.html Modified: trunk/cegcc/docs/faq.html =================================================================== --- trunk/cegcc/docs/faq.html 2008-12-19 09:41:38 UTC (rev 1205) +++ trunk/cegcc/docs/faq.html 2009-01-25 10:16:33 UTC (rev 1206) @@ -303,6 +303,20 @@ V2 release of the Device Emulator in the previous step, </LI> <LI> +To get more recent Windows Mobile emulators, search : "standalone Windows Mobile emulator images" on <A HREF="http://www.microsoft.com">www.microsoft.com</A>. +<P> +The links change from time to time but these work now (January 2009) : +<ul> + <li> + <a href="http://www.microsoft.com/downloads/details.aspx?familyid=3D6F581E-C093-4B15-AB0C-A2CE5BFFDB47&displaylang=en">WM 6.1</a> + </li> + <li> + <a href="http://www.microsoft.com/downloads/details.aspx?familyid=1A7A6B52-F89E-4354-84CE-5D19C204498A&displaylang=en">WM6.1.4</a> + </li> + <li> + <a href="http://www.microsoft.com/downloads/details.aspx?familyid=A6F6ADAF-12E3-4B2F-A394-356E2C2FB114&displaylang=en">standalone emulator</a> +</ul> +<!-- for Windows Mobile 6 MSFP (ARM CPU) operating system images, get the free <A HREF="http://www.microsoft.com/downloads/details.aspx?familyid=38C46AA8-1DD7-426F-A913-4F370A65A582&displaylang=en">Windows Mobile 6 Localized Emulator Images</A> (versions for many languages are provided, @@ -310,6 +324,7 @@ "Professional/Classic" and "Standard"</A> images are provided, the pure "WinCE 6.0 Core" image is not provided). + --> </LI> </UL> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2008-12-19 09:41:42
|
Revision: 1205 http://cegcc.svn.sourceforge.net/cegcc/?rev=1205&view=rev Author: dannybackx Date: 2008-12-19 09:41:38 +0000 (Fri, 19 Dec 2008) Log Message: ----------- Allow extra comma at end of data lists. Modified Paths: -------------- trunk/cegcc/src/binutils/ChangeLog.ce trunk/cegcc/src/binutils/binutils/rcparse.y Modified: trunk/cegcc/src/binutils/ChangeLog.ce =================================================================== --- trunk/cegcc/src/binutils/ChangeLog.ce 2008-12-09 23:37:04 UTC (rev 1204) +++ trunk/cegcc/src/binutils/ChangeLog.ce 2008-12-19 09:41:38 UTC (rev 1205) @@ -1,3 +1,6 @@ +2008-12-19 mosfet <fo...@sm...> + * binutils/rcparse.y: Allow extra comma at the end of data lists. + 2008-11-27 Klaus Rechert <kl...@re...> * binutils/dlltool.c, binutils/windmc.c: remove compiler warnings that break the build on Ubuntu. Modified: trunk/cegcc/src/binutils/binutils/rcparse.y =================================================================== --- trunk/cegcc/src/binutils/binutils/rcparse.y 2008-12-09 23:37:04 UTC (rev 1204) +++ trunk/cegcc/src/binutils/binutils/rcparse.y 2008-12-19 09:41:38 UTC (rev 1205) @@ -1248,6 +1248,10 @@ $1.last->next = ri; $$.last = ri; } + | rcdata_data ',' + { + $$=$1; + } ; /* Stringtable resources. */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2008-12-09 23:37:09
|
Revision: 1204 http://cegcc.svn.sourceforge.net/cegcc/?rev=1204&view=rev Author: dannybackx Date: 2008-12-09 23:37:04 +0000 (Tue, 09 Dec 2008) Log Message: ----------- Fix compiler warnings on Ubuntu Modified Paths: -------------- trunk/cegcc/src/binutils/ChangeLog.ce trunk/cegcc/src/binutils/binutils/dlltool.c trunk/cegcc/src/binutils/binutils/windmc.c Modified: trunk/cegcc/src/binutils/ChangeLog.ce =================================================================== --- trunk/cegcc/src/binutils/ChangeLog.ce 2008-12-09 23:24:12 UTC (rev 1203) +++ trunk/cegcc/src/binutils/ChangeLog.ce 2008-12-09 23:37:04 UTC (rev 1204) @@ -1,3 +1,7 @@ +2008-11-27 Klaus Rechert <kl...@re...> + * binutils/dlltool.c, binutils/windmc.c: remove compiler warnings that + break the build on Ubuntu. + 2008-09-24 Pedro Alves <ped...@us...> ld/ Modified: trunk/cegcc/src/binutils/binutils/dlltool.c =================================================================== --- trunk/cegcc/src/binutils/binutils/dlltool.c 2008-12-09 23:24:12 UTC (rev 1203) +++ trunk/cegcc/src/binutils/binutils/dlltool.c 2008-12-09 23:37:04 UTC (rev 1204) @@ -1206,7 +1206,7 @@ if (pid == -1) { - inform (strerror (errno)); + inform (_("%s"), strerror (errno)); fatal (errmsg_fmt, errmsg_arg); } @@ -1985,6 +1985,8 @@ long *copy; int j; int on_page; + long ret; + fprintf (f, "\t.section\t.init\n"); fprintf (f, "lab:\n"); @@ -1992,7 +1994,9 @@ numbytes = ftell (base_file); fseek (base_file, 0, SEEK_SET); copy = xmalloc (numbytes); - fread (copy, 1, numbytes, base_file); + ret = fread (copy, 1, numbytes, base_file); + if (ret < numbytes) + fatal(_("Short read\n")); num_entries = numbytes / sizeof (long); Modified: trunk/cegcc/src/binutils/binutils/windmc.c =================================================================== --- trunk/cegcc/src/binutils/binutils/windmc.c 2008-12-09 23:24:12 UTC (rev 1203) +++ trunk/cegcc/src/binutils/binutils/windmc.c 2008-12-09 23:37:04 UTC (rev 1204) @@ -1137,6 +1137,7 @@ rc_uint_type ul; char *buff; long flen; + long ret; FILE *fp = fopen (input_filename, "rb"); if (!fp) @@ -1147,7 +1148,9 @@ fseek (fp, 0, SEEK_SET); buff = malloc (flen + 3); memset (buff, 0, flen + 3); - fread (buff, 1, flen, fp); + ret = fread (buff, 1, flen, fp); + if (ret < flen) + fatal(_("Short read\n")); fclose (fp); if (mcset_text_in_is_unicode != 1) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2008-12-09 23:24:17
|
Revision: 1203 http://cegcc.svn.sourceforge.net/cegcc/?rev=1203&view=rev Author: dannybackx Date: 2008-12-09 23:24:12 +0000 (Tue, 09 Dec 2008) Log Message: ----------- See mail from Andrej Krutak : pocketgps-map works with cegcc. Modified Paths: -------------- trunk/cegcc/website/software-that-works.html Modified: trunk/cegcc/website/software-that-works.html =================================================================== --- trunk/cegcc/website/software-that-works.html 2008-10-26 18:04:35 UTC (rev 1202) +++ trunk/cegcc/website/software-that-works.html 2008-12-09 23:24:12 UTC (rev 1203) @@ -31,6 +31,11 @@ <td>Works with CeGCC ?</td> </tr> <tr> +<td class="project"> <a href="http://sourceforge.net/projects/pocketgpsmap">PocketGPS-Map</a> </td> +<td class="description"> This program views calibrated bitmap maps (moving maps) on PocketPC/WinCE platform. Additionaly it supports using GPS device to retrieve user position and show it (with other marks) in map - making it very handy for geocaching.</td> +<td class="works">Yes</td> +</tr> +<tr> <td class="project"> <a href="http://sourceforge.net/projects/roadmap">roadmap</a> </td> <td class="description"> A navigation system that displays street maps and tracks a vehicle using GPS. Specific locations can be selected by street address. Routes and tracks can be created, edited, and saved in GPX format. Runs on most POSIX systems, the iPAQ, and the Zaurus.</td> <td class="works">Yes, but include file patches required (they're in SVN)</td> @@ -602,11 +607,6 @@ <td class="works">?</td> </tr> <tr> -<td class="project"> <a href="http://sourceforge.net/projects/pocketgpsmap">PocketGPS-Map</a> </td> -<td class="description"> This program views calibrated bitmap maps (moving maps) on PocketPC/WinCE platform. Additionaly it supports using GPS device to retrieve user position and show it (with other marks) in map - making it very handy for geocaching.</td> -<td class="works">?</td> -</tr> -<tr> <td class="project"> <a href="http://sourceforge.net/projects/claunch">cLaunch for PocketPC</a> </td> <td class="description"> cLaunch - Highly customisable PocketPC Today Screen Launcher based on tdLaunch code</td> <td class="works">?</td> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2008-10-26 18:04:40
|
Revision: 1202 http://cegcc.svn.sourceforge.net/cegcc/?rev=1202&view=rev Author: dannybackx Date: 2008-10-26 18:04:35 +0000 (Sun, 26 Oct 2008) Log Message: ----------- Add a SourceForge symbol everywhere. Modified Paths: -------------- trunk/cegcc/docs/build-toolchain.html trunk/cegcc/docs/choosing.html trunk/cegcc/docs/debugging.html trunk/cegcc/docs/details.html trunk/cegcc/docs/dll.html trunk/cegcc/docs/exception.html trunk/cegcc/docs/faq.html trunk/cegcc/docs/index.html trunk/cegcc/docs/install-linux.html trunk/cegcc/docs/layer.html trunk/cegcc/docs/license.html trunk/cegcc/docs/profile.html trunk/cegcc/docs/reporting.html trunk/cegcc/docs/structure.html trunk/cegcc/docs/test.html trunk/cegcc/docs/using.html trunk/cegcc/docs/what.html Modified: trunk/cegcc/docs/build-toolchain.html =================================================================== --- trunk/cegcc/docs/build-toolchain.html 2008-10-26 17:58:35 UTC (rev 1201) +++ trunk/cegcc/docs/build-toolchain.html 2008-10-26 18:04:35 UTC (rev 1202) @@ -280,8 +280,9 @@ <li> <a href="faq.html">Frequently asked questions ? Read the FAQ</a>. <li> <a href="mailto:ceg...@li...">Questions ? Use the mailing list</a>. <li> <a href="http://sourceforge.net/tracker/?group_id=173455&atid=865514"> CeGCC Bug tracker </a> - <LI><A HREF="reporting.html">Information to including when asking help or when reporting problems</A></LI> + <li><a href="reporting.html">Information to including when asking help or when reporting problems</a></li> </ul> </td> </tr></table> +<a href="http://sourceforge.net"><img src="http://images.sourceforge.net/sfx/logo.gif" alt="Powered by Sourceforge.net"></a> </HTML> Modified: trunk/cegcc/docs/choosing.html =================================================================== --- trunk/cegcc/docs/choosing.html 2008-10-26 17:58:35 UTC (rev 1201) +++ trunk/cegcc/docs/choosing.html 2008-10-26 18:04:35 UTC (rev 1202) @@ -77,8 +77,9 @@ <li> <a href="faq.html">Frequently asked questions ? Read the FAQ</a>. <li> <a href="mailto:ceg...@li...">Questions ? Use the mailing list</a>. <li> <a href="http://sourceforge.net/tracker/?group_id=173455&atid=865514"> CeGCC Bug tracker </a> - <LI><A HREF="reporting.html">Information to including when asking help or when reporting problems</A></LI> + <li><a href="reporting.html">Information to including when asking help or when reporting problems</a></li> </ul> </td> </tr></table> +<a href="http://sourceforge.net"><img src="http://images.sourceforge.net/sfx/logo.gif" alt="Powered by Sourceforge.net"></a> </html> Modified: trunk/cegcc/docs/debugging.html =================================================================== --- trunk/cegcc/docs/debugging.html 2008-10-26 17:58:35 UTC (rev 1201) +++ trunk/cegcc/docs/debugging.html 2008-10-26 18:04:35 UTC (rev 1202) @@ -332,8 +332,9 @@ <li> <a href="faq.html">Frequently asked questions ? Read the FAQ</a>. <li> <a href="mailto:ceg...@li...">Questions ? Use the mailing list</a>. <li> <a href="http://sourceforge.net/tracker/?group_id=173455&atid=865514"> CeGCC Bug tracker </a> - <LI><A HREF="reporting.html">Information to including when asking help or when reporting problems</A></LI> + <li><a href="reporting.html">Information to including when asking help or when reporting problems</a></li> </ul> </td> </tr></table> +<a href="http://sourceforge.net"><img src="http://images.sourceforge.net/sfx/logo.gif" alt="Powered by Sourceforge.net"></a> </html> Modified: trunk/cegcc/docs/details.html =================================================================== --- trunk/cegcc/docs/details.html 2008-10-26 17:58:35 UTC (rev 1201) +++ trunk/cegcc/docs/details.html 2008-10-26 18:04:35 UTC (rev 1202) @@ -238,8 +238,9 @@ <li> <a href="faq.html">Frequently asked questions ? Read the FAQ</a>. <li> <a href="mailto:ceg...@li...">Questions ? Use the mailing list</a>. <li> <a href="http://sourceforge.net/tracker/?group_id=173455&atid=865514"> CeGCC Bug tracker </a> - <LI><A HREF="reporting.html">Information to including when asking help or when reporting problems</A></LI> + <li><a href="reporting.html">Information to including when asking help or when reporting problems</a></li> </ul> </td> </tr></table> +<a href="http://sourceforge.net"><img src="http://images.sourceforge.net/sfx/logo.gif" alt="Powered by Sourceforge.net"></a> </html> Modified: trunk/cegcc/docs/dll.html =================================================================== --- trunk/cegcc/docs/dll.html 2008-10-26 17:58:35 UTC (rev 1201) +++ trunk/cegcc/docs/dll.html 2008-10-26 18:04:35 UTC (rev 1202) @@ -59,8 +59,9 @@ <li> <a href="faq.html">Frequently asked questions ? Read the FAQ</a>. <li> <a href="mailto:ceg...@li...">Questions ? Use the mailing list</a>. <li> <a href="http://sourceforge.net/tracker/?group_id=173455&atid=865514"> CeGCC Bug tracker </a> - <LI><A HREF="reporting.html">Information to including when asking help or when reporting problems</A></LI> + <li><a href="reporting.html">Information to including when asking help or when reporting problems</a></li> </ul> </td> </tr></table> +<a href="http://sourceforge.net"><img src="http://images.sourceforge.net/sfx/logo.gif" alt="Powered by Sourceforge.net"></a> </HTML> Modified: trunk/cegcc/docs/exception.html =================================================================== --- trunk/cegcc/docs/exception.html 2008-10-26 17:58:35 UTC (rev 1201) +++ trunk/cegcc/docs/exception.html 2008-10-26 18:04:35 UTC (rev 1202) @@ -138,4 +138,5 @@ </ul> </td> </tr></table> +<a href="http://sourceforge.net"><img src="http://images.sourceforge.net/sfx/logo.gif" alt="Powered by Sourceforge.net"></a> </html> Modified: trunk/cegcc/docs/faq.html =================================================================== --- trunk/cegcc/docs/faq.html 2008-10-26 17:58:35 UTC (rev 1201) +++ trunk/cegcc/docs/faq.html 2008-10-26 18:04:35 UTC (rev 1202) @@ -911,8 +911,8 @@ <li> <a href="mailto:ceg...@li...">Questions ? Use the mailing list</a>. <li> <a href="http://sourceforge.net/tracker/?group_id=173455&atid=865514"> CeGCC Bug tracker </a> <li><a href="reporting.html">Information to including when asking help or when reporting problems</a></li> - <li><a href="test.html">Test plan (work in progress!)</a></li> </ul> </td> </tr></table> +<a href="http://sourceforge.net"><img src="http://images.sourceforge.net/sfx/logo.gif" alt="Powered by Sourceforge.net"></a> </HTML> Modified: trunk/cegcc/docs/index.html =================================================================== --- trunk/cegcc/docs/index.html 2008-10-26 17:58:35 UTC (rev 1201) +++ trunk/cegcc/docs/index.html 2008-10-26 18:04:35 UTC (rev 1202) @@ -34,6 +34,7 @@ </ul> <LI><A HREF="license.html">License</A></LI> <LI><A HREF="reporting.html">Information to including when asking help or when reporting problems</A></LI> +<LI><A HREF="exception.html">Exception Handling with CeGCC</A></LI> </UL> <P> <h2>Required software</h2> @@ -58,8 +59,9 @@ <li> <a href="faq.html">Frequently asked questions ? Read the FAQ</a>. <li> <a href="mailto:ceg...@li...">Questions ? Use the mailing list</a>. <li> <a href="http://sourceforge.net/tracker/?group_id=173455&atid=865514"> CeGCC Bug tracker </a> - <LI><A HREF="reporting.html">Information to including when asking help or when reporting problems</A></LI> + <li><a href="reporting.html">Information to including when asking help or when reporting problems</a></li> </ul> </td> </tr></table> +<a href="http://sourceforge.net"><img src="http://images.sourceforge.net/sfx/logo.gif" alt="Powered by Sourceforge.net"></a> </HTML> Modified: trunk/cegcc/docs/install-linux.html =================================================================== --- trunk/cegcc/docs/install-linux.html 2008-10-26 17:58:35 UTC (rev 1201) +++ trunk/cegcc/docs/install-linux.html 2008-10-26 18:04:35 UTC (rev 1202) @@ -161,8 +161,9 @@ <li> <a href="faq.html">Frequently asked questions ? Read the FAQ</a>. <li> <a href="mailto:ceg...@li...">Questions ? Use the mailing list</a>. <li> <a href="http://sourceforge.net/tracker/?group_id=173455&atid=865514"> CeGCC Bug tracker </a> - <LI><A HREF="reporting.html">Information to including when asking help or when reporting problems</A></LI> + <li><a href="reporting.html">Information to including when asking help or when reporting problems</a></li> </ul> </td> </tr></table> +<a href="http://sourceforge.net"><img src="http://images.sourceforge.net/sfx/logo.gif" alt="Powered by Sourceforge.net"></a> </html> Modified: trunk/cegcc/docs/layer.html =================================================================== --- trunk/cegcc/docs/layer.html 2008-10-26 17:58:35 UTC (rev 1201) +++ trunk/cegcc/docs/layer.html 2008-10-26 18:04:35 UTC (rev 1202) @@ -60,8 +60,9 @@ <li> <a href="faq.html">Frequently asked questions ? Read the FAQ</a>. <li> <a href="mailto:ceg...@li...">Questions ? Use the mailing list</a>. <li> <a href="http://sourceforge.net/tracker/?group_id=173455&atid=865514"> CeGCC Bug tracker </a> - <LI><A HREF="reporting.html">Information to including when asking help or when reporting problems</A></LI> + <li><a href="reporting.html">Information to including when asking help or when reporting problems</a></li> </ul> </td> </tr></table> +<a href="http://sourceforge.net"><img src="http://images.sourceforge.net/sfx/logo.gif" alt="Powered by Sourceforge.net"></a> </HTML> Modified: trunk/cegcc/docs/license.html =================================================================== --- trunk/cegcc/docs/license.html 2008-10-26 17:58:35 UTC (rev 1201) +++ trunk/cegcc/docs/license.html 2008-10-26 18:04:35 UTC (rev 1202) @@ -72,8 +72,9 @@ <li> <a href="faq.html">Frequently asked questions ? Read the FAQ</a>. <li> <a href="mailto:ceg...@li...">Questions ? Use the mailing list</a>. <li> <a href="http://sourceforge.net/tracker/?group_id=173455&atid=865514"> CeGCC Bug tracker </a> - <LI><A HREF="reporting.html">Information to including when asking help or when reporting problems</A></LI> + <li><a href="reporting.html">Information to including when asking help or when reporting problems</a></li> </ul> </td> </tr></table> +<a href="http://sourceforge.net"><img src="http://images.sourceforge.net/sfx/logo.gif" alt="Powered by Sourceforge.net"></a> </HTML> Modified: trunk/cegcc/docs/profile.html =================================================================== --- trunk/cegcc/docs/profile.html 2008-10-26 17:58:35 UTC (rev 1201) +++ trunk/cegcc/docs/profile.html 2008-10-26 18:04:35 UTC (rev 1202) @@ -507,8 +507,9 @@ <li> <a href="faq.html">Frequently asked questions ? Read the FAQ</a>. <li> <a href="mailto:ceg...@li...">Questions ? Use the mailing list</a>. <li> <a href="http://sourceforge.net/tracker/?group_id=173455&atid=865514"> CeGCC Bug tracker </a> - <LI><A HREF="reporting.html">Information to including when asking help or when reporting problems</A></LI> + <li><a href="reporting.html">Information to including when asking help or when reporting problems</a></li> </ul> </td> </tr></table> +<a href="http://sourceforge.net"><img src="http://images.sourceforge.net/sfx/logo.gif" alt="Powered by Sourceforge.net"></a> </HTML> Modified: trunk/cegcc/docs/reporting.html =================================================================== --- trunk/cegcc/docs/reporting.html 2008-10-26 17:58:35 UTC (rev 1201) +++ trunk/cegcc/docs/reporting.html 2008-10-26 18:04:35 UTC (rev 1202) @@ -42,8 +42,9 @@ <li> <a href="faq.html">Frequently asked questions ? Read the FAQ</a>. <li> <a href="mailto:ceg...@li...">Questions ? Use the mailing list</a>. <li> <a href="http://sourceforge.net/tracker/?group_id=173455&atid=865514"> CeGCC Bug tracker </a> - <LI><A HREF="reporting.html">Information to including when asking help or when reporting problems</A></LI> + <li><a href="reporting.html">Information to including when asking help or when reporting problems</a></li> </ul> </td> </tr></table> +<a href="http://sourceforge.net"><img src="http://images.sourceforge.net/sfx/logo.gif" alt="Powered by Sourceforge.net"></a> </HTML> Modified: trunk/cegcc/docs/structure.html =================================================================== --- trunk/cegcc/docs/structure.html 2008-10-26 17:58:35 UTC (rev 1201) +++ trunk/cegcc/docs/structure.html 2008-10-26 18:04:35 UTC (rev 1202) @@ -103,8 +103,9 @@ <li> <a href="faq.html">Frequently asked questions ? Read the FAQ</a>. <li> <a href="mailto:ceg...@li...">Questions ? Use the mailing list</a>. <li> <a href="http://sourceforge.net/tracker/?group_id=173455&atid=865514"> CeGCC Bug tracker </a> - <LI><A HREF="reporting.html">Information to including when asking help or when reporting problems</A></LI> + <li><a href="reporting.html">Information to including when asking help or when reporting problems</a></li> </ul> </td> </tr></table> +<a href="http://sourceforge.net"><img src="http://images.sourceforge.net/sfx/logo.gif" alt="Powered by Sourceforge.net"></a> </HTML> Modified: trunk/cegcc/docs/test.html =================================================================== --- trunk/cegcc/docs/test.html 2008-10-26 17:58:35 UTC (rev 1201) +++ trunk/cegcc/docs/test.html 2008-10-26 18:04:35 UTC (rev 1202) @@ -92,4 +92,25 @@ <H1>Status per release</H1> <H2>Release 0.55</H2> </BODY> + <table border=0 cellspacing=10 width="100%"> <tr> + <td align=left valign=top bgcolor="#ededed" width="50%"> + <h2 align=center>Information</h2> + <ul> + <li> <a href="http://cegcc.sourceforge.net"> CeGCC Home Page on SourceForge </a> + <li> <a href="index.html"> CeGCC Documentation </a> + <li> <a href="http://sourceforge.net/projects/cegcc"> Project page on SourceForge </a> + <li> <a href="http://cegcc.wiki.sourceforge.net"> CeGCC wiki </a> + </ul> + </td> + <td align=left valign=top bgcolor="#ededed" width="50%"> + <h2 align=center>Support</h2> + <ul> + <li> <a href="faq.html">Frequently asked questions ? Read the FAQ</a>. + <li> <a href="mailto:ceg...@li...">Questions ? Use the mailing list</a>. + <li> <a href="http://sourceforge.net/tracker/?group_id=173455&atid=865514"> CeGCC Bug tracker </a> + <li><a href="reporting.html">Information to including when asking help or when reporting problems</a></li> + </ul> + </td> + </tr></table> +<a href="http://sourceforge.net"><img src="http://images.sourceforge.net/sfx/logo.gif" alt="Powered by Sourceforge.net"></a> </HTML> Modified: trunk/cegcc/docs/using.html =================================================================== --- trunk/cegcc/docs/using.html 2008-10-26 17:58:35 UTC (rev 1201) +++ trunk/cegcc/docs/using.html 2008-10-26 18:04:35 UTC (rev 1202) @@ -350,8 +350,9 @@ <li> <a href="faq.html">Frequently asked questions ? Read the FAQ</a>. <li> <a href="mailto:ceg...@li...">Questions ? Use the mailing list</a>. <li> <a href="http://sourceforge.net/tracker/?group_id=173455&atid=865514"> CeGCC Bug tracker </a> - <LI><A HREF="reporting.html">Information to including when asking help or when reporting problems</A></LI> + <li><a href="reporting.html">Information to including when asking help or when reporting problems</a></li> </ul> </td> </tr></table> +<a href="http://sourceforge.net"><img src="http://images.sourceforge.net/sfx/logo.gif" alt="Powered by Sourceforge.net"></a> </HTML> Modified: trunk/cegcc/docs/what.html =================================================================== --- trunk/cegcc/docs/what.html 2008-10-26 17:58:35 UTC (rev 1201) +++ trunk/cegcc/docs/what.html 2008-10-26 18:04:35 UTC (rev 1202) @@ -95,8 +95,9 @@ <li> <a href="faq.html">Frequently asked questions ? Read the FAQ</a>. <li> <a href="mailto:ceg...@li...">Questions ? Use the mailing list</a>. <li> <a href="http://sourceforge.net/tracker/?group_id=173455&atid=865514"> CeGCC Bug tracker </a> - <LI><A HREF="reporting.html">Information to including when asking help or when reporting problems</A></LI> + <li><a href="reporting.html">Information to including when asking help or when reporting problems</a></li> </ul> </td> </tr></table> +<a href="http://sourceforge.net"><img src="http://images.sourceforge.net/sfx/logo.gif" alt="Powered by Sourceforge.net"></a> </html> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2008-10-26 17:58:44
|
Revision: 1201 http://cegcc.svn.sourceforge.net/cegcc/?rev=1201&view=rev Author: dannybackx Date: 2008-10-26 17:58:35 +0000 (Sun, 26 Oct 2008) Log Message: ----------- Add a SourceForge symbol on one page, remove the award banner on the other. Modified Paths: -------------- trunk/cegcc/website/index.html trunk/cegcc/website/software-that-works.html Modified: trunk/cegcc/website/index.html =================================================================== --- trunk/cegcc/website/index.html 2008-10-09 00:51:10 UTC (rev 1200) +++ trunk/cegcc/website/index.html 2008-10-26 17:58:35 UTC (rev 1201) @@ -8,7 +8,6 @@ <body> <p> <img src="images/banner1.png" alt="CeGCC cross compiler for PocketPC"> -<a href="http://sourceforge.net/awards/cca/?group_id=173455"><img src="http://sourceforge.net/awards/cca/badge_img.php?group_id=173455&style=5" border="0" /></a> <p> <table border="3"> <tr><td width="66%"> Modified: trunk/cegcc/website/software-that-works.html =================================================================== --- trunk/cegcc/website/software-that-works.html 2008-10-09 00:51:10 UTC (rev 1200) +++ trunk/cegcc/website/software-that-works.html 2008-10-26 17:58:35 UTC (rev 1201) @@ -1495,4 +1495,5 @@ </ul> </td> </tr></table> +<a href="http://sourceforge.net"><img src="http://images.sourceforge.net/sfx/logo.gif" alt="Powered by Sourceforge.net"></a> </html> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2008-10-09 00:51:21
|
Revision: 1200 http://cegcc.svn.sourceforge.net/cegcc/?rev=1200&view=rev Author: pedroalves Date: 2008-10-09 00:51:10 +0000 (Thu, 09 Oct 2008) Log Message: ----------- 2008-10-09 Pawel Veselov <paw...@gm...> newlib/ * libc/sys/wince/trace.c (__trace_closed): New. (get_level_name): New. (WCETRACE): Rename to... (__WCETrace): ... this. (WCETRACESET): Do not change the trace level if the tracing facilities have been closed. (WCETRACECLOSE): Print out a message that the tracing has closed. Reset tracing level to 0 after closing. (__WCETrace): Print out the tracing level along with the message. * libc/sys/wince/sys/wcetrace.h (WCETRACE): Define. (WCETRACE): Rename to ... (__WCETrace): ... this. (WCETRACING): Define. * libc/sys/wince/io.c (_write_r): When tracing out stdio/stderr buffer, send out as many bytes as are in the buffer, instead of using zero termination. Modified Paths: -------------- trunk/cegcc/src/newlib/ChangeLog.cegcc trunk/cegcc/src/newlib/newlib/libc/sys/wince/io.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/sys/wcetrace.h trunk/cegcc/src/newlib/newlib/libc/sys/wince/trace.c Modified: trunk/cegcc/src/newlib/ChangeLog.cegcc =================================================================== --- trunk/cegcc/src/newlib/ChangeLog.cegcc 2008-10-07 17:03:04 UTC (rev 1199) +++ trunk/cegcc/src/newlib/ChangeLog.cegcc 2008-10-09 00:51:10 UTC (rev 1200) @@ -1,3 +1,23 @@ +2008-10-09 Pawel Veselov <paw...@gm...> + + newlib/ + * libc/sys/wince/trace.c (__trace_closed): New. + (get_level_name): New. + (WCETRACE): Rename to... + (__WCETrace): ... this. + (WCETRACESET): Do not change the trace level if the tracing + facilities have been closed. + (WCETRACECLOSE): Print out a message that the tracing has closed. + Reset tracing level to 0 after closing. + (__WCETrace): Print out the tracing level along with the message. + * libc/sys/wince/sys/wcetrace.h (WCETRACE): Define. + (WCETRACE): Rename to ... + (__WCETrace): ... this. + (WCETRACING): Define. + * libc/sys/wince/io.c (_write_r): When tracing out stdio/stderr + buffer, send out as many bytes as are in the buffer, instead of + using zero termination. + 2008-10-04 Pawel Veselov <paw...@gm...> newlib/ Modified: trunk/cegcc/src/newlib/newlib/libc/sys/wince/io.c =================================================================== --- trunk/cegcc/src/newlib/newlib/libc/sys/wince/io.c 2008-10-07 17:03:04 UTC (rev 1199) +++ trunk/cegcc/src/newlib/newlib/libc/sys/wince/io.c 2008-10-09 00:51:10 UTC (rev 1200) @@ -515,13 +515,14 @@ WCETRACE(WCE_IO, "write(%d, %d, %x)", fd, count, _fdtab[fd].hnd); EnterCriticalSection(&critsect); -#if 1 - if (fd == 2 || fd == 1) - { - const char* out = fd == 2?"stderr: ":"stdout: "; - WCETRACE(WCE_IO, "%s : %s", out, buf); + + if (WCETRACING(WCE_IO)) { + if (fd == 2 || fd == 1) { + char fmt[30]; + snprintf(fmt, 29, "%s : %%.%ds", fd == 2?"stderr":"stdout", count); + WCETRACE(WCE_IO, fmt, buf); + } } -#endif /* until we can call console stuff inside the PE loader */ if ((!__StdioInited) && (fd >= 0) && (fd <= 2)) Modified: trunk/cegcc/src/newlib/newlib/libc/sys/wince/sys/wcetrace.h =================================================================== --- trunk/cegcc/src/newlib/newlib/libc/sys/wince/sys/wcetrace.h 2008-10-07 17:03:04 UTC (rev 1199) +++ trunk/cegcc/src/newlib/newlib/libc/sys/wince/sys/wcetrace.h 2008-10-09 00:51:10 UTC (rev 1200) @@ -32,16 +32,26 @@ #endif #ifndef CE_NOTRACE + void WCETRACEGETENV(void); void WCETRACESET(int trace); int WCETRACEGET(void); -void WCETRACE(int level, const char *fmt, ...); +#define WCETRACING(LEVEL) \ + ((WCETRACE_DEBUGGER_GET() & (LEVEL)) || (WCETRACEGET() & (LEVEL))) +#define WCETRACE(LEVEL, FMT...) do { \ + if (WCETRACING(LEVEL)) \ + __WCETrace(LEVEL, FMT); \ + } while(0) + void WCETRACE_DEBUGGER_SET(int trace); int WCETRACE_DEBUGGER_GET(void); void WCETRACECLOSE(void); +void __WCETrace(int trace, const char * fmt, ...); void __WCETraceError(int level, unsigned long werr, const char* funct); #define WCETRACE_ERROR(T, ERR) __WCETraceError(T, ERR, __FUNCTION__) + #else + #define WCETRACEGETENV() do {} while (0) #define WCETRACESET(trace) do {} while (0) #define WCETRACEGET() do {} while (0) @@ -50,6 +60,8 @@ #define WCETRACE_DEBUGGER_GET() do {} while (0) #define WCETRACECLOSE() do {} while (0) #define WCETRACE_ERROR(T, ERR) do {} while (0) +#define WCETRACING(p) (0) + #endif #ifdef __cplusplus Modified: trunk/cegcc/src/newlib/newlib/libc/sys/wince/trace.c =================================================================== --- trunk/cegcc/src/newlib/newlib/libc/sys/wince/trace.c 2008-10-07 17:03:04 UTC (rev 1199) +++ trunk/cegcc/src/newlib/newlib/libc/sys/wince/trace.c 2008-10-09 00:51:10 UTC (rev 1200) @@ -15,15 +15,17 @@ static HANDLE __wcetracehnd = NULL; static int __wcetrace = 0; static int __wcetrace_debugger = 0; /* Used to be WCE_ALL */ +static int __trace_closed = 0; void WCETRACESET(int trace) { - __wcetrace = trace; + if (!__trace_closed) + __wcetrace = trace; } int -WCETRACEGET() +WCETRACEGET(void) { return(__wcetrace); } @@ -35,7 +37,7 @@ } int -WCETRACE_DEBUGGER_GET() +WCETRACE_DEBUGGER_GET(void) { return(__wcetrace_debugger); } @@ -46,23 +48,75 @@ int flag; } trace_entry; +/* This define specifies how long a buffer is needed for displaying + all the levels. It should be the sum of all names of level + lengths, plus the amount of level lengths (for the separation + commas) plus 6 (currently) digits for displaying the numeric value + of the level. And then add a terminating 0, and a safety padding. + The WCE_ALL is not accounted for, as it consumes all other levels, + and never shows in the output. */ + +#define MAX_LEVEL_BUF (41 + 9 + 6 + 10) + static const trace_entry trace_entries[] = { { "all", WCE_ALL }, - { "io", WCE_IO }, - { "network", WCE_NETWORK }, - { "signals", WCE_SIGNALS }, - { "fifos", WCE_FIFOS }, - { "time", WCE_TIME }, - { "synch", WCE_SYNCH }, - { "malloc", WCE_MALLOC }, - { "vm", WCE_VM }, - { "app", WCE_APP }, - + { "io", WCE_IO }, /* 2 = 2 */ + { "network", WCE_NETWORK }, /* 7 = 9 */ + { "signals", WCE_SIGNALS }, /* 7 = 16 */ + { "fifos", WCE_FIFOS }, /* 5 = 21 */ + { "time", WCE_TIME }, /* 4 = 25 */ + { "synch", WCE_SYNCH }, /* 5 = 30 */ + { "malloc", WCE_MALLOC }, /* 6 = 36 */ + { "vm", WCE_VM }, /* 2 = 38 */ + { "app", WCE_APP }, /* 3 = 41 */ + { NULL, 0 } }; +/* Convert LEVEL into a comma separated string, and store it in TO. + TO must be at least MAX_LEVEL_BUF long. */ + +static void +get_level_name(int level, char *to) +{ + int virgin = 1; + + const trace_entry *ent = trace_entries + 1; + for (; ent->str; ent++) + { + if (level & ent->flag) + { + int len; + + level &= ~ent->flag; + if (!virgin) + *(to++) = ','; + else + virgin = 0; + + len = strlen(ent->str); + memcpy(to, ent->str, len); + to += len; + } + } + + if (level) + { + int printed; + + /* There were some unresolved flags. */ + if (!virgin) + *(to++) = ','; + + printed = sprintf(to, "%#04.4x", level); + to += printed; + } + + *to = 0; +} + void NKDbgPrintfA(const char *fmt, ...); static void set_from_env(const char* env, int* what) @@ -111,33 +165,44 @@ } void -WCETRACEGETENV() +WCETRACEGETENV(void) { set_from_env("WCETRACE", &__wcetrace); set_from_env("WCETRACE_DEBUGGER", &__wcetrace_debugger); } void -WCETRACECLOSE() +WCETRACECLOSE(void) { if (__wcetracehnd != NULL && __wcetracehnd != INVALID_HANDLE_VALUE) { + __wcetrace = WCE_IO; + __WCETrace(WCE_IO, "Trace file is being closed"); FlushFileBuffers(__wcetracehnd); XCECloseHandle(__wcetracehnd); __wcetracehnd = NULL; + __trace_closed = 1; + __wcetrace = 0; } } void -WCETRACE(int level, const char *fmt, ...) +__WCETrace(int level, const char *fmt, ...) { + int len; + char level_name[MAX_LEVEL_BUF]; + char buf[1024]; + + va_list ap; + if (!(__wcetrace_debugger & level) && !(__wcetrace & level)) return; - char buf[1024]; - int len = sprintf(buf, "%08X:%08X: ", GetTickCount(), GetCurrentThreadId()); + get_level_name(level, level_name); + len = sprintf(buf, "%08X:%08X: [%s] ", + GetTickCount(), GetCurrentThreadId(), + level_name); - va_list ap; va_start(ap, fmt); vsprintf(buf + len, fmt, ap); strcat(buf, "\n"); @@ -148,7 +213,7 @@ wchar_t tracepathw[256]; const char* tmppath = getenv("TMP"); int pid = getpid(); - NKDbgPrintfW(L"pid is %d (%x)", pid, pid); + NKDbgPrintfW(L"pid is %d (%x)\n", pid, pid); if (!tmppath || strlen(tmppath) == 0) sprintf(tracepath, "/Temp/wcetrace%u.log", pid); else @@ -181,23 +246,26 @@ } } -void __WCETraceError(int trace, DWORD error, const char* func) +void +__WCETraceError(int trace, DWORD error, const char* func) { wchar_t* wbuf; + int len; + char* buf; FormatMessageW(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, NULL, error, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (wchar_t*) &wbuf, - 0, NULL ); + 0, NULL); - int len = wcslen(wbuf); - char* buf = alloca(len); - wcstombs(buf, wbuf, len+1); + len = wcslen(wbuf); + buf = alloca(len + 1); + wcstombs(buf, wbuf, len + 1); LocalFree(wbuf); WCETRACE(trace, "%s failed with error %d: %s", func, (int)error, buf); printf("%s failed with error %d: %s\n", func, (int)error, buf); } -#endif // CE_NOTRACE +#endif /* CE_NOTRACE */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2008-10-07 17:03:08
|
Revision: 1199 http://cegcc.svn.sourceforge.net/cegcc/?rev=1199&view=rev Author: pedroalves Date: 2008-10-07 17:03:04 +0000 (Tue, 07 Oct 2008) Log Message: ----------- * include/secext.h (EXTENDED_NAME_FORMAT): Allow on _WIN32_WCE >= 0x400. Add NameWindowsCeLocal on CE and hide NameDnsDomain. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/secext.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2008-10-05 14:52:09 UTC (rev 1198) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2008-10-07 17:03:04 UTC (rev 1199) @@ -1,3 +1,8 @@ +2008-10-07 Pedro Alves <ped...@us...> + + * include/secext.h (EXTENDED_NAME_FORMAT): Allow on _WIN32_WCE >= + 0x400. Add NameWindowsCeLocal on CE and hide NameDnsDomain. + 2008-10-05 Pedro Alves <ped...@us...> * include/shellapi.h (SHCreateShortcut): Change return type to Modified: trunk/cegcc/src/w32api/include/secext.h =================================================================== --- trunk/cegcc/src/w32api/include/secext.h 2008-10-05 14:52:09 UTC (rev 1198) +++ trunk/cegcc/src/w32api/include/secext.h 2008-10-07 17:03:04 UTC (rev 1199) @@ -10,7 +10,7 @@ #endif #ifndef RC_INVOKED -#if (_WIN32_WINNT >= 0x0500) +#if (_WIN32_WINNT >= 0x0500) || (_WIN32_WCE >= 0x0400) typedef enum { NameUnknown = 0, @@ -21,8 +21,12 @@ NameCanonical = 7, NameUserPrincipal = 8, NameCanonicalEx = 9, - NameServicePrincipal = 10, + NameServicePrincipal = 10, +#ifdef _WIN32_WCE + NameWindowsCeLocal = 0x80000001 +#else NameDnsDomain = 12 +#endif } EXTENDED_NAME_FORMAT, *PEXTENDED_NAME_FORMAT; BOOLEAN WINAPI GetComputerObjectNameA(EXTENDED_NAME_FORMAT,LPSTR,PULONG); @@ -43,7 +47,7 @@ #endif #endif /* ! RC_INVOKED */ -#endif /* _WIN32_WINNT >= 0x0500 */ +#endif /* _WIN32_WINNT >= 0x0500 || _WIN32_WCE >= 0x0400 */ #ifdef __cplusplus } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2008-10-05 14:53:11
|
Revision: 1198 http://cegcc.svn.sourceforge.net/cegcc/?rev=1198&view=rev Author: pedroalves Date: 2008-10-05 14:52:09 +0000 (Sun, 05 Oct 2008) Log Message: ----------- 2008-10-05 Pedro Alves <ped...@us...> * include/shellapi.h (SHCreateShortcut): Change return type to DWORD. (SHCreateShortcutEx): Declare. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/shellapi.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2008-10-05 14:45:42 UTC (rev 1197) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2008-10-05 14:52:09 UTC (rev 1198) @@ -1,3 +1,9 @@ +2008-10-05 Pedro Alves <ped...@us...> + + * include/shellapi.h (SHCreateShortcut): Change return type to + DWORD. + (SHCreateShortcutEx): Declare. + 2008-09-25 Pedro Alves <ped...@us...> * libce/Makefile.in (inst_includedir, inst_libdir) [!cegcc]: Modified: trunk/cegcc/src/w32api/include/shellapi.h =================================================================== --- trunk/cegcc/src/w32api/include/shellapi.h 2008-10-05 14:45:42 UTC (rev 1197) +++ trunk/cegcc/src/w32api/include/shellapi.h 2008-10-05 14:52:09 UTC (rev 1198) @@ -325,7 +325,10 @@ #ifdef _WIN32_WCE BOOL WINAPI SHGetShortcutTarget(LPCTSTR,LPTSTR,int); -BOOL WINAPI SHCreateShortcut(LPTSTR,LPTSTR); +DWORD WINAPI SHCreateShortcut(LPTSTR,LPTSTR); +#if (_WIN32_WCE >= 0x420) +DWORD WINAPI SHCreateShortcutEx(LPTSTR,LPTSTR,LPTSTR,LPDWORD); +#endif HBITMAP WINAPI SHLoadDIBitmap(LPCTSTR); #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2008-10-05 14:48:24
|
Revision: 1197 http://cegcc.svn.sourceforge.net/cegcc/?rev=1197&view=rev Author: dannybackx Date: 2008-10-05 14:45:42 +0000 (Sun, 05 Oct 2008) Log Message: ----------- Add the WM 6.1 question Modified Paths: -------------- trunk/cegcc/docs/faq.html Modified: trunk/cegcc/docs/faq.html =================================================================== --- trunk/cegcc/docs/faq.html 2008-10-04 21:40:55 UTC (rev 1196) +++ trunk/cegcc/docs/faq.html 2008-10-05 14:45:42 UTC (rev 1197) @@ -71,6 +71,7 @@ <LI><A HREF="#FileNotWinCEApplication">I get "'MyProgram' is not a valid Windows CE application" when I try to run MyProgram.</A></LI> + <LI><A HREF="#DllDoesNotWorkWithWindowsMobile6.1">DLL does not work with Windows Mobile 6.1</A></LI> <LI><A HREF="#More">Need More Informations?</A></LI> <!-- This should always remain THE LAST QUESTION --> @@ -841,6 +842,32 @@ <P><A HREF="#ToC">Table of Contents</A></P> </LI> + <LI> + <STRONG><A NAME="DllDoesNotWorkWithWindowsMobile6.1"> + DLL doesn't work with Windows Mobile 6.1 + </A></STRONG><BR> + <P> + Memory management changes in Windows Mobile 6.1 cause some DLLs not to load. + It has been suggested (see + <a href="http://blogs.msdn.com/hopperx/archive/2008/09/19/writeable-code-sections-got-you-down-fear-no-more.aspx"> + this blog</a> + that the underlying problem is a writable code section in the DLL, + other reports suggest that the DLL size may be an issue. + <P> + The workaround or solution (I'm not sure what to call it) that we have + is to restrict this DLL to Slot 0 by adding the following registry key: + <pre> + [HKEY_LOCAL_MACHINE\System\Loader\LoadModuleLow] "MyDll.dll"=dword:1 + </pre> + Obviously you need to change "MyDll" into the name of the DLL that causes the problem. + <P> + Please note that using the this approach will force your entire DLL into Slot 0 and, + it may prevent other modules from loading in that slot. + Therefore, the above registry setting should be used with caution. + </P> + <P><A HREF="#ToC">Table of Contents</A></P> + </LI> + <!-- Guilty - this should always remain THE LAST ANSWER --> <li> @@ -883,7 +910,8 @@ <li> <a href="faq.html">Frequently asked questions ? Read the FAQ</a>. <li> <a href="mailto:ceg...@li...">Questions ? Use the mailing list</a>. <li> <a href="http://sourceforge.net/tracker/?group_id=173455&atid=865514"> CeGCC Bug tracker </a> - <LI><A HREF="reporting.html">Information to including when asking help or when reporting problems</A></LI> + <li><a href="reporting.html">Information to including when asking help or when reporting problems</a></li> + <li><a href="test.html">Test plan (work in progress!)</a></li> </ul> </td> </tr></table> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2008-10-04 21:41:02
|
Revision: 1196 http://cegcc.svn.sourceforge.net/cegcc/?rev=1196&view=rev Author: pedroalves Date: 2008-10-04 21:40:55 +0000 (Sat, 04 Oct 2008) Log Message: ----------- 2008-10-04 Pawel Veselov <paw...@gm...> newlib/ * libc/sys/wince/sys/shared.h (_shared_getshowwindow): Redefine to include _SHMBLK argument. * libc/sys/wince/sys/shared.h (_shared_getenvironblk): Redefine to return int. Add a comment explaining what the function does. * libc/sys/wince/startup.c (inherit_parent): Don't call _shared_getenvblk there, it's called somewhere else. * libc/sys/wince/env.c (_initenv): Use new _shared_getenvironblk semantics. * libc/sys/wince/spawn.c (_spawnv, _spawnvp, _newlib_pre_spawn): Use correct function name. * libc/sys/wince/shared.c: Rename _shared_setenvblk to _shared_setenvironblk to match the header file definition. * libc/sys/wince/shared.c (_shared_getenvironblk): Allocate memory for the copy of the shared environment block, and return the number of variables found. Modified Paths: -------------- trunk/cegcc/src/newlib/ChangeLog.cegcc trunk/cegcc/src/newlib/newlib/libc/sys/wince/env.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/shared.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/spawn.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/startup.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/sys/shared.h Modified: trunk/cegcc/src/newlib/ChangeLog.cegcc =================================================================== --- trunk/cegcc/src/newlib/ChangeLog.cegcc 2008-09-30 11:56:35 UTC (rev 1195) +++ trunk/cegcc/src/newlib/ChangeLog.cegcc 2008-10-04 21:40:55 UTC (rev 1196) @@ -1,3 +1,22 @@ +2008-10-04 Pawel Veselov <paw...@gm...> + + newlib/ + * libc/sys/wince/sys/shared.h (_shared_getshowwindow): Redefine to + include _SHMBLK argument. + * libc/sys/wince/sys/shared.h (_shared_getenvironblk): Redefine to + return int. Add a comment explaining what the function does. + * libc/sys/wince/startup.c (inherit_parent): Don't call + _shared_getenvblk there, it's called somewhere else. + * libc/sys/wince/env.c (_initenv): Use new _shared_getenvironblk + semantics. + * libc/sys/wince/spawn.c (_spawnv, _spawnvp, _newlib_pre_spawn): + Use correct function name. + * libc/sys/wince/shared.c: Rename _shared_setenvblk to + _shared_setenvironblk to match the header file definition. + * libc/sys/wince/shared.c (_shared_getenvironblk): Allocate memory + for the copy of the shared environment block, and return the + number of variables found. + 2008-09-24 Pedro Alves <ped...@us...> * config.sub: Add cegcc support. Modified: trunk/cegcc/src/newlib/newlib/libc/sys/wince/env.c =================================================================== --- trunk/cegcc/src/newlib/newlib/libc/sys/wince/env.c 2008-09-30 11:56:35 UTC (rev 1195) +++ trunk/cegcc/src/newlib/newlib/libc/sys/wince/env.c 2008-10-04 21:40:55 UTC (rev 1196) @@ -28,14 +28,14 @@ if((res = XCERegOpenKeyExA(HKEY_LOCAL_MACHINE, "Environment", 0, KEY_READ, &hKey)) != 0) - { - // use defaults - putenv("UNIXROOTDIR=/"); - putenv("PATH=.:/:/Windows"); - putenv("HOME=/My Documents"); - putenv("TMP=/Temp"); - return; - } + { + // use defaults + putenv("UNIXROOTDIR=/"); + putenv("PATH=.:/:/Windows"); + putenv("HOME=/My Documents"); + putenv("TMP=/Temp"); + return; + } while(1) { @@ -48,9 +48,7 @@ if(res != 0) { if(res != ERROR_NO_MORE_ITEMS) - { XCEShowMessageA("RegEnumValue: %d", res); - } break; } @@ -79,21 +77,24 @@ void _initenv(_SHMBLK shmblk) { if (shmblk) - { - char buf[MAX_ENVIRONBLK]; + { + char *buf; + int no; - /* We are being initialized from a cegcc app. - Kill environ set from the registry. */ - environ[0] = 0; - _shared_getenvblk(shmblk, buf); - if(buf[0] != 0) - _initenv_from_envblock(buf); - else - _initenv_from_reg(); - _shared_setenvblk(shmblk, ""); + /* We are being initialized from a cegcc app. Only use the + registry environment if there are no environment variables in + the shared block. */ + + no = _shared_getenvironblk(shmblk, &buf); + + if (no) + { + _initenv_from_envblock(buf); + free(buf); + } + else + _initenv_from_reg(); } else - { - _initenv_from_reg(); - } + _initenv_from_reg(); } Modified: trunk/cegcc/src/newlib/newlib/libc/sys/wince/shared.c =================================================================== --- trunk/cegcc/src/newlib/newlib/libc/sys/wince/shared.c 2008-09-30 11:56:35 UTC (rev 1195) +++ trunk/cegcc/src/newlib/newlib/libc/sys/wince/shared.c 2008-10-04 21:40:55 UTC (rev 1196) @@ -194,7 +194,7 @@ } void -_shared_setenvblk(_SHMBLK shmblk, char **env) +_shared_setenvironblk(_SHMBLK shmblk, char **env) { char *d; int i, len; @@ -209,7 +209,8 @@ for (i = 0, d = shmblk->pginfo.environ; env[i] != NULL; i++) { len = strlen(env[i]); if (d + len >= endp) { - WCETRACE(WCE_IO, "_shared_setenvblk: FATAL space exhausted (max %d)", + WCETRACE(WCE_IO, "_shared_setenvironblk: " + "FATAL space exhausted (max %d)", MAX_ENVIRONBLK); exit(1); } @@ -219,28 +220,33 @@ *d = 0; } -void -_shared_getenvblk(_SHMBLK shmblk, char **env) +int +_shared_getenvironblk(_SHMBLK shmblk, char **env) { char *s; int i, len; - if (shmblk == NULL) - return; + if (shmblk == NULL) { + return 0; + } for (i = 0, s = shmblk->pginfo.environ; *s; i++) { - len = strlen(s); - if (env[i] != NULL) { - free(env[i]); - } - env[i] = malloc(len + 1); - if (env[i] == NULL) { - WCETRACE(WCE_IO, "_shared_getenvblk: FATAL ERROR malloc failed"); - exit(1); - } - memcpy(env[i], s, len + 1); - s += len + 1; - } + s += strlen(s) + 1; + } + + if (i) { + len = s - shmblk->pginfo.environ + 1; + *env = malloc(len); + if (*env == NULL) { + WCETRACE(WCE_IO, "_shared_getenvironblk: " + "FATAL ERROR malloc failed for %d more bytes", len); + exit(1); + } + + memcpy(*env, shmblk->pginfo.environ, len); + } + + return i; } BOOL Modified: trunk/cegcc/src/newlib/newlib/libc/sys/wince/spawn.c =================================================================== --- trunk/cegcc/src/newlib/newlib/libc/sys/wince/spawn.c 2008-09-30 11:56:35 UTC (rev 1195) +++ trunk/cegcc/src/newlib/newlib/libc/sys/wince/spawn.c 2008-10-04 21:40:55 UTC (rev 1196) @@ -93,7 +93,7 @@ } WCETRACE(WCE_IO, "spawnv: _shared_init returns %x", shmblk); - _shared_setenvblk(shmblk, environ); + _shared_setenvironblk(shmblk, environ); getcwd(buf, BUFSIZE); WCETRACE(WCE_IO, "spawnv: cwd \"%s\"", buf); _shared_setcwd(shmblk, buf); @@ -155,7 +155,7 @@ } WCETRACE(WCE_IO, "spawnv: _shared_init returns %x", shmblk); - _shared_setenvblk(shmblk, environ); + _shared_setenvironblk(shmblk, environ); getcwd(buf, BUFSIZE); WCETRACE(WCE_IO, "spawnvp: cwd \"%s\"", buf); _shared_setcwd(shmblk, buf); @@ -190,7 +190,7 @@ return(-1); } - _shared_setenvblk(shmblk, environ); + _shared_setenvironblk(shmblk, environ); getcwd(buf, BUFSIZE); _shared_setcwd(shmblk, buf); _shared_setstdinfd(shmblk, (infd >= 0) ? _fdtab[infd].fd : infd); Modified: trunk/cegcc/src/newlib/newlib/libc/sys/wince/startup.c =================================================================== --- trunk/cegcc/src/newlib/newlib/libc/sys/wince/startup.c 2008-09-30 11:56:35 UTC (rev 1195) +++ trunk/cegcc/src/newlib/newlib/libc/sys/wince/startup.c 2008-10-04 21:40:55 UTC (rev 1196) @@ -548,7 +548,6 @@ atexit(_ioatexit); _shared_dump(shmblk); - _shared_getenvblk(shmblk, environ); __pgid = _shared_getpgid(shmblk); _shared_getcwd(shmblk, buf); Modified: trunk/cegcc/src/newlib/newlib/libc/sys/wince/sys/shared.h =================================================================== --- trunk/cegcc/src/newlib/newlib/libc/sys/wince/sys/shared.h 2008-09-30 11:56:35 UTC (rev 1195) +++ trunk/cegcc/src/newlib/newlib/libc/sys/wince/sys/shared.h 2008-10-04 21:40:55 UTC (rev 1196) @@ -30,10 +30,15 @@ _SHMBLK _shared_init(int pgid); void _shared_dump(_SHMBLK shmblk); -int _shared_getshowwindow(); +int _shared_getshowwindow(_SHMBLK shmblk); void _shared_setshowwindow(_SHMBLK shmblk, int show); void _shared_setenvironblk(_SHMBLK shmblk, char **env); -void _shared_getenvironblk(_SHMBLK shmblk, char **env); + +/* Returns the number of environment variables extracted from the + shared block. The environment variables are written into *ENV, + which is allocated using malloc. */ +int _shared_getenvironblk(_SHMBLK shmblk, char **env); + void _shared_reset(_SHMBLK shmblk); void _shared_getcwd(_SHMBLK shmblk, char *cwd); void _shared_setcwd(_SHMBLK shmblk, char *cwd); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2008-09-30 11:56:44
|
Revision: 1195 http://cegcc.svn.sourceforge.net/cegcc/?rev=1195&view=rev Author: pedroalves Date: 2008-09-30 11:56:35 +0000 (Tue, 30 Sep 2008) Log Message: ----------- * build-cegcc.sh (COMPONENTS_NUM): Correctly get array size. * build-mingw32ce.sh (COMPONENTS_NUM): Likewise. Modified Paths: -------------- trunk/cegcc/src/build-cegcc.sh trunk/cegcc/src/build-mingw32ce.sh Modified: trunk/cegcc/src/build-cegcc.sh =================================================================== --- trunk/cegcc/src/build-cegcc.sh 2008-09-26 01:45:06 UTC (rev 1194) +++ trunk/cegcc/src/build-cegcc.sh 2008-09-30 11:56:35 UTC (rev 1195) @@ -17,7 +17,7 @@ # The list of components, in build order. There's a build_FOO # function for each of these components COMPONENTS=( binutils bootstrap_gcc w32api newlib dummy_cegccdll gcc cegccdll cegccthrddll libstdcppdll profile docs ) -COMPONENTS_NUM=${#COMPONENTS} +COMPONENTS_NUM=${#COMPONENTS[*]} # Build comma separated list of components, for user display. for ((i=0;i<$COMPONENTS_NUM;i++)); do Modified: trunk/cegcc/src/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce.sh 2008-09-26 01:45:06 UTC (rev 1194) +++ trunk/cegcc/src/build-mingw32ce.sh 2008-09-30 11:56:35 UTC (rev 1195) @@ -19,7 +19,7 @@ # The list of components, in build order. There's a build_FOO # function for each of these components COMPONENTS=( binutils bootstrap_gcc mingw w32api gcc profile dlls docs ) -COMPONENTS_NUM=${#COMPONENTS} +COMPONENTS_NUM=${#COMPONENTS[*]} # Build comma separated list of components, for user display. for ((i=0;i<$COMPONENTS_NUM;i++)); do This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2008-09-26 02:34:18
|
Revision: 1194 http://cegcc.svn.sourceforge.net/cegcc/?rev=1194&view=rev Author: pedroalves Date: 2008-09-26 01:45:06 +0000 (Fri, 26 Sep 2008) Log Message: ----------- 2008-09-26 Pedro Alves <ped...@us...> * build-cegcc.sh (build_bootstrap_gcc): Remove unneeded target-libgcc steps. * build-mingw32ce.sh (build_bootstrap_gcc): Likewise. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/build-cegcc.sh trunk/cegcc/src/build-mingw32ce.sh Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2008-09-25 13:16:24 UTC (rev 1193) +++ trunk/cegcc/src/ChangeLog 2008-09-26 01:45:06 UTC (rev 1194) @@ -1,5 +1,23 @@ +2008-09-26 Pedro Alves <ped...@us...> + + * build-cegcc.sh (build_bootstrap_gcc): Remove unneeded + target-libgcc steps. + * build-mingw32ce.sh (build_bootstrap_gcc): Likewise. + 2008-09-25 Pedro Alves <ped...@us...> + Enable passing -jFOO to components that support it. + + * build-cegcc.sh: Add support for -j/--parallelism option. + (build_binutils, build_bootstrap_gcc, build_w32api, build_gcc) + (build_newlib, build_profile): Use it. + + * build-mingw32ce.sh: Add support for -j/--parallelism option. + (build_binutils, build_bootstrap_gcc, build_w32api, build_mingw) + (build_gcc, build_gdb, build_gdbserver, build_profile): Use it. + +2008-09-25 Pedro Alves <ped...@us...> + * build-cegcc.sh (COMPONENTS): Fix typo. 2008-09-25 Pedro Alves <ped...@us...> Modified: trunk/cegcc/src/build-cegcc.sh =================================================================== --- trunk/cegcc/src/build-cegcc.sh 2008-09-25 13:16:24 UTC (rev 1193) +++ trunk/cegcc/src/build-cegcc.sh 2008-09-26 01:45:06 UTC (rev 1194) @@ -229,16 +229,7 @@ --enable-checking make ${PARALLELISM} all-gcc - - if [ ${gcc_src} != "gcc" ]; - then - make ${PARALLELISM} all-target-libgcc - fi make install-gcc - if [ ${gcc_src} != "gcc" ]; - then - make install-target-libgcc - fi cd ${BUILD_DIR} } Modified: trunk/cegcc/src/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce.sh 2008-09-25 13:16:24 UTC (rev 1193) +++ trunk/cegcc/src/build-mingw32ce.sh 2008-09-26 01:45:06 UTC (rev 1194) @@ -212,16 +212,7 @@ --enable-checking make ${PARALLELISM} all-gcc - - if [ ${gcc_src} != "gcc" ]; - then - make ${PARALLELISM} all-target-libgcc - fi make install-gcc - if [ ${gcc_src} != "gcc" ]; - then - make install-target-libgcc - fi cd ${BUILD_DIR} } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2008-09-25 13:17:06
|
Revision: 1193 http://cegcc.svn.sourceforge.net/cegcc/?rev=1193&view=rev Author: pedroalves Date: 2008-09-25 13:16:24 +0000 (Thu, 25 Sep 2008) Log Message: ----------- 2008-09-25 Pedro Alves <ped...@us...> Enable passing -jFOO to components that support it. * build-cegcc.sh: Add support for -j/--parallelism option. (build_binutils, build_bootstrap_gcc, build_w32api, build_gcc) (build_newlib, build_profile): Use it. * build-mingw32ce.sh: Add support for -j/--parallelism option. (build_binutils, build_bootstrap_gcc, build_w32api, build_mingw) (build_gcc, build_gdb, build_gdbserver, build_profile): Use it. Modified Paths: -------------- trunk/cegcc/src/build-cegcc.sh trunk/cegcc/src/build-mingw32ce.sh Modified: trunk/cegcc/src/build-cegcc.sh =================================================================== --- trunk/cegcc/src/build-cegcc.sh 2008-09-25 13:11:01 UTC (rev 1192) +++ trunk/cegcc/src/build-cegcc.sh 2008-09-25 13:16:24 UTC (rev 1193) @@ -39,6 +39,8 @@ -h, --help print this help, then exit --prefix=PREFIX install toolchain in PREFIX [$ac_default_prefix] + -j, --parallelism PARALLELISM Pass PARALLELISM as -jPARALLELISM + to make invocations. --components=LIST specify which components to build valid components are: ${COMPONENTS_COMMA_LIST} [all] @@ -65,6 +67,17 @@ -help | --help | --hel | --he | -h) usage; exit 0 ;; + -j | --parallelism | --parallelis | --paralleli | --parallel \ + | --paralle | --parall | --paral | --para | --par \ + | --pa) + ac_prev=parallelism ;; + -j=* | --parallelism=* | --parallelis=* | --paralleli=* | --parallel=* \ + | --paralle=* | --parall=* | --paral=* | --para=* | --par=* \ + | --pa=*) + parallelism=$ac_optarg ;; + -j*) + parallelism=`echo $ac_option | sed 's/-j//'` ;; + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) @@ -142,6 +155,12 @@ fi fi +if [ "x${parallelism}" != "x" ]; then + PARALLELISM="-j${parallelism}" +else + PARALLELISM= +fi + # embedded tabs in the sed below -- do not untabify components=`echo "${components}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'` @@ -168,7 +187,7 @@ --target=${TARGET} \ --disable-nls - make + make ${PARALLELISM} make install cd ${BUILD_DIR} @@ -209,11 +228,11 @@ --without-newlib \ --enable-checking - make all-gcc + make ${PARALLELISM} all-gcc if [ ${gcc_src} != "gcc" ]; then - make all-target-libgcc + make ${PARALLELISM} all-target-libgcc fi make install-gcc if [ ${gcc_src} != "gcc" ]; @@ -233,7 +252,7 @@ --host=${TARGET} \ --prefix=${PREFIX} - make + make ${PARALLELISM} make install cd ${BUILD_DIR} @@ -265,7 +284,7 @@ # --disable-clocale \ - make + make ${PARALLELISM} make install cd ${BUILD_DIR} @@ -285,7 +304,7 @@ --target=${TARGET} \ --prefix=${PREFIX} - make + make ${PARALLELISM} make install cd ${BUILD_DIR} @@ -349,7 +368,7 @@ --target=${TARGET} \ --prefix=${PREFIX} - make + make ${PARALLELISM} make install cd ${BUILD_DIR} Modified: trunk/cegcc/src/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce.sh 2008-09-25 13:11:01 UTC (rev 1192) +++ trunk/cegcc/src/build-mingw32ce.sh 2008-09-25 13:16:24 UTC (rev 1193) @@ -41,6 +41,8 @@ -h, --help print this help, then exit --prefix=PREFIX install toolchain in PREFIX [$ac_default_prefix] + -j, --parallelism PARALLELISM Pass PARALLELISM as -jPARALLELISM + to make invocations. --components=LIST specify which components to build valid components are: ${COMPONENTS_COMMA_LIST} [all] @@ -67,6 +69,17 @@ -help | --help | --hel | --he | -h) usage; exit 0 ;; + -j | --parallelism | --parallelis | --paralleli | --parallel \ + | --paralle | --parall | --paral | --para | --par \ + | --pa) + ac_prev=parallelism ;; + -j=* | --parallelism=* | --parallelis=* | --paralleli=* | --parallel=* \ + | --paralle=* | --parall=* | --paral=* | --para=* | --par=* \ + | --pa=*) + parallelism=$ac_optarg ;; + -j*) + parallelism=`echo $ac_option | sed 's/-j//'` ;; + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) @@ -139,6 +152,12 @@ fi fi +if [ "x${parallelism}" != "x" ]; then + PARALLELISM="-j${parallelism}" +else + PARALLELISM= +fi + # embedded tabs in the sed below -- do not untabify components=`echo "${components}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'` @@ -165,7 +184,7 @@ --target=${TARGET} \ --disable-nls - make + make ${PARALLELISM} make install cd ${BUILD_DIR} @@ -192,11 +211,11 @@ --without-newlib \ --enable-checking - make all-gcc + make ${PARALLELISM} all-gcc if [ ${gcc_src} != "gcc" ]; then - make all-target-libgcc + make ${PARALLELISM} all-target-libgcc fi make install-gcc if [ ${gcc_src} != "gcc" ]; @@ -216,7 +235,7 @@ --host=${TARGET} \ --prefix=${PREFIX} - make + make ${PARALLELISM} make install cd ${BUILD_DIR} @@ -232,7 +251,7 @@ --target=${TARGET} \ --prefix=${PREFIX} - make + make ${PARALLELISM} make install cd ${BUILD_DIR} @@ -264,7 +283,7 @@ # --disable-clocale \ - make + make ${PARALLELISM} make install cd ${BUILD_DIR} @@ -294,7 +313,7 @@ export CFLAGS=${PREV_CFLAGS} - make + make ${PARALLELISM} make install cd ${BUILD_DIR} @@ -315,7 +334,7 @@ --host=${TARGET} \ --prefix=${PREFIX} \ - make + make ${PARALLELISM} make install cd ${BUILD_DIR} @@ -362,7 +381,7 @@ --prefix=${PREFIX} \ || exit - make + make ${PARALLELISM} make install cd ${BUILD_DIR} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2008-09-25 13:11:21
|
Revision: 1192 http://cegcc.svn.sourceforge.net/cegcc/?rev=1192&view=rev Author: pedroalves Date: 2008-09-25 13:11:01 +0000 (Thu, 25 Sep 2008) Log Message: ----------- * build-cegcc.sh (COMPONENTS): Fix typo. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/build-cegcc.sh Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2008-09-25 12:00:25 UTC (rev 1191) +++ trunk/cegcc/src/ChangeLog 2008-09-25 13:11:01 UTC (rev 1192) @@ -1,5 +1,9 @@ 2008-09-25 Pedro Alves <ped...@us...> + * build-cegcc.sh (COMPONENTS): Fix typo. + +2008-09-25 Pedro Alves <ped...@us...> + * build-cegcc.sh (build_newlib, build_cegccdll) (build_cegccthrddll, build_stdcppdll, build_profile, build_docs): cd to BUILD_DIR on exit. Modified: trunk/cegcc/src/build-cegcc.sh =================================================================== --- trunk/cegcc/src/build-cegcc.sh 2008-09-25 12:00:25 UTC (rev 1191) +++ trunk/cegcc/src/build-cegcc.sh 2008-09-25 13:11:01 UTC (rev 1192) @@ -16,7 +16,7 @@ # The list of components, in build order. There's a build_FOO # function for each of these components -COMPONENTS=( binutils bootstrapgcc w32api newlib dummy_cegccdll gcc cegccdll cegccthrddll libstdcppdll profile docs ) +COMPONENTS=( binutils bootstrap_gcc w32api newlib dummy_cegccdll gcc cegccdll cegccthrddll libstdcppdll profile docs ) COMPONENTS_NUM=${#COMPONENTS} # Build comma separated list of components, for user display. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2008-09-25 12:00:45
|
Revision: 1191 http://cegcc.svn.sourceforge.net/cegcc/?rev=1191&view=rev Author: pedroalves Date: 2008-09-25 12:00:25 +0000 (Thu, 25 Sep 2008) Log Message: ----------- 2008-09-25 Pedro Alves <ped...@us...> * build-cegcc.sh (build_newlib, build_cegccdll) (build_cegccthrddll, build_stdcppdll, build_profile, build_docs): cd to BUILD_DIR on exit. * build-mingw32ce.sh (build_w32api, build_mingw): Likewise. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/build-cegcc.sh trunk/cegcc/src/build-mingw32ce.sh Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2008-09-25 11:19:05 UTC (rev 1190) +++ trunk/cegcc/src/ChangeLog 2008-09-25 12:00:25 UTC (rev 1191) @@ -1,3 +1,10 @@ +2008-09-25 Pedro Alves <ped...@us...> + + * build-cegcc.sh (build_newlib, build_cegccdll) + (build_cegccthrddll, build_stdcppdll, build_profile, build_docs): + cd to BUILD_DIR on exit. + * build-mingw32ce.sh (build_w32api, build_mingw): Likewise. + 2008-09-24 Pedro Alves <ped...@us...> * build-cegcc.sh (build_gcc): Remove -j4. Modified: trunk/cegcc/src/build-cegcc.sh =================================================================== --- trunk/cegcc/src/build-cegcc.sh 2008-09-25 11:19:05 UTC (rev 1190) +++ trunk/cegcc/src/build-cegcc.sh 2008-09-25 12:00:25 UTC (rev 1191) @@ -287,7 +287,8 @@ make make install - cd ${BASE_DIRECTORY} + + cd ${BUILD_DIR} } build_cegccdll() @@ -300,6 +301,8 @@ cd ${BASE_DIRECTORY}/cegcc/cegccdll make make install + + cd ${BUILD_DIR} } build_cegccthrddll() @@ -312,6 +315,8 @@ cd ${BASE_DIRECTORY}/cegcc/cegccthrd make make install + + cd ${BUILD_DIR} } build_libstdcppdll() @@ -324,6 +329,8 @@ cd ${BASE_DIRECTORY}/cegcc/libstdc++ make make install + + cd ${BUILD_DIR} } build_profile() @@ -344,6 +351,8 @@ make make install + + cd ${BUILD_DIR} } build_docs() @@ -366,6 +375,8 @@ cp src/binutils/COPYING ${PREFIX} cp src/binutils/COPYING.LIB ${PREFIX} cp src/binutils/COPYING.NEWLIB ${PREFIX} + + cd ${BUILD_DIR} } build_all() Modified: trunk/cegcc/src/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce.sh 2008-09-25 11:19:05 UTC (rev 1190) +++ trunk/cegcc/src/build-mingw32ce.sh 2008-09-25 12:00:25 UTC (rev 1191) @@ -218,6 +218,8 @@ make make install + + cd ${BUILD_DIR} } build_mingw() @@ -232,6 +234,8 @@ make make install + + cd ${BUILD_DIR} } build_gcc() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2008-09-25 11:19:15
|
Revision: 1190 http://cegcc.svn.sourceforge.net/cegcc/?rev=1190&view=rev Author: pedroalves Date: 2008-09-25 11:19:05 +0000 (Thu, 25 Sep 2008) Log Message: ----------- 2008-09-25 Pedro Alves <ped...@us...> * libce/Makefile.in (inst_includedir, inst_libdir) [!cegcc]: Unbreak mingw32ce. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/libce/Makefile.in Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2008-09-24 11:52:20 UTC (rev 1189) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2008-09-25 11:19:05 UTC (rev 1190) @@ -1,3 +1,8 @@ +2008-09-25 Pedro Alves <ped...@us...> + + * libce/Makefile.in (inst_includedir, inst_libdir) [!cegcc]: + Unbreak mingw32ce. + 2008-09-24 Pedro Alves <ped...@us...> * config.sub: Add support for cegcc. Modified: trunk/cegcc/src/w32api/libce/Makefile.in =================================================================== --- trunk/cegcc/src/w32api/libce/Makefile.in 2008-09-24 11:52:20 UTC (rev 1189) +++ trunk/cegcc/src/w32api/libce/Makefile.in 2008-09-25 11:19:05 UTC (rev 1190) @@ -48,14 +48,9 @@ inst_includedir:=$(tooldir)/include/w32api inst_libdir:=$(tooldir)/lib/w32api else -ifneq (,$(with_cross_host)) -inst_includedir:=$(tooldir)/include/w32api +inst_includedir:=$(tooldir)/include inst_libdir:=$(tooldir)/lib -else -inst_includedir:=$(includedir) -inst_libdir:=$(libdir) endif -endif INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |