mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2002-03-21 Alexander Kukuta <kam@oktet.ru>
* src/bdbuf.c (avl_insert, avl_remove): Reimplemented from scratch
to avoid using GPLed sources in RTEMS core.
* src/bdbuf.c, include/rtems/bdbuf.h: Remove "binary tree"
implementation which was used for debugging only.
This commit is contained in:
@@ -1,3 +1,17 @@
|
||||
2002-03-21 Alexander Kukuta <kam@oktet.ru>
|
||||
|
||||
* src/bdbuf.c (avl_insert, avl_remove): Reimplemented from scratch
|
||||
to avoid using GPLed sources in RTEMS core.
|
||||
* src/bdbuf.c, include/rtems/bdbuf.h: Remove "binary tree"
|
||||
implementation which was used for debugging only.
|
||||
|
||||
2002-03-13 Victor V. Vengerov <vvv@oktet.ru>
|
||||
|
||||
* src/bdbuf.c (find_or_assign_buffer, rtems_bdbuf_read,
|
||||
rtems_bdbuf_sync, rtems_bdbuf_syncdev, bdbuf_swapout_task):
|
||||
Fix bug: disable interrupts and set level properly before
|
||||
_CORE_mutex_Seize invocation).
|
||||
|
||||
2002-02-28 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* Submitted by Victor V. Vengerov <vvv@oktet.ru> and merged
|
||||
|
||||
@@ -37,22 +37,15 @@ extern "C" {
|
||||
typedef struct bdbuf_buffer {
|
||||
Chain_Node link; /* Link in the lru, mod or free chains */
|
||||
|
||||
#ifdef BINARY_TREE
|
||||
struct bdbuf_avl_node {
|
||||
struct bdbuf_buffer *left; /* link to the left sub-tree */
|
||||
struct bdbuf_buffer *right; /* link to the right sub-tree */
|
||||
char cache; /* Cache */
|
||||
|
||||
int bf; /* AVL tree node balance factor */
|
||||
} avl; /* AVL-tree links */
|
||||
#else /* AVL TREE */
|
||||
struct bdbuf_avl_node {
|
||||
char cache; /* Cache */
|
||||
struct bdbuf_buffer* left; /* Left Child */
|
||||
struct bdbuf_buffer* right; /* Right Child */
|
||||
|
||||
struct bdbuf_buffer* link[2]; /* Left and Right Kids */
|
||||
|
||||
char bal; /* The balance of the sub-tree */
|
||||
char bal; /* The balance of the sub-tree */
|
||||
} avl;
|
||||
#endif
|
||||
|
||||
dev_t dev; /* device number */
|
||||
blkdev_bnum block; /* block number on the device */
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,17 @@
|
||||
2002-03-21 Alexander Kukuta <kam@oktet.ru>
|
||||
|
||||
* src/bdbuf.c (avl_insert, avl_remove): Reimplemented from scratch
|
||||
to avoid using GPLed sources in RTEMS core.
|
||||
* src/bdbuf.c, include/rtems/bdbuf.h: Remove "binary tree"
|
||||
implementation which was used for debugging only.
|
||||
|
||||
2002-03-13 Victor V. Vengerov <vvv@oktet.ru>
|
||||
|
||||
* src/bdbuf.c (find_or_assign_buffer, rtems_bdbuf_read,
|
||||
rtems_bdbuf_sync, rtems_bdbuf_syncdev, bdbuf_swapout_task):
|
||||
Fix bug: disable interrupts and set level properly before
|
||||
_CORE_mutex_Seize invocation).
|
||||
|
||||
2002-02-28 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* Submitted by Victor V. Vengerov <vvv@oktet.ru> and merged
|
||||
|
||||
@@ -37,22 +37,15 @@ extern "C" {
|
||||
typedef struct bdbuf_buffer {
|
||||
Chain_Node link; /* Link in the lru, mod or free chains */
|
||||
|
||||
#ifdef BINARY_TREE
|
||||
struct bdbuf_avl_node {
|
||||
struct bdbuf_buffer *left; /* link to the left sub-tree */
|
||||
struct bdbuf_buffer *right; /* link to the right sub-tree */
|
||||
char cache; /* Cache */
|
||||
|
||||
int bf; /* AVL tree node balance factor */
|
||||
} avl; /* AVL-tree links */
|
||||
#else /* AVL TREE */
|
||||
struct bdbuf_avl_node {
|
||||
char cache; /* Cache */
|
||||
struct bdbuf_buffer* left; /* Left Child */
|
||||
struct bdbuf_buffer* right; /* Right Child */
|
||||
|
||||
struct bdbuf_buffer* link[2]; /* Left and Right Kids */
|
||||
|
||||
char bal; /* The balance of the sub-tree */
|
||||
char bal; /* The balance of the sub-tree */
|
||||
} avl;
|
||||
#endif
|
||||
|
||||
dev_t dev; /* device number */
|
||||
blkdev_bnum block; /* block number on the device */
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,17 @@
|
||||
2002-03-21 Alexander Kukuta <kam@oktet.ru>
|
||||
|
||||
* src/bdbuf.c (avl_insert, avl_remove): Reimplemented from scratch
|
||||
to avoid using GPLed sources in RTEMS core.
|
||||
* src/bdbuf.c, include/rtems/bdbuf.h: Remove "binary tree"
|
||||
implementation which was used for debugging only.
|
||||
|
||||
2002-03-13 Victor V. Vengerov <vvv@oktet.ru>
|
||||
|
||||
* src/bdbuf.c (find_or_assign_buffer, rtems_bdbuf_read,
|
||||
rtems_bdbuf_sync, rtems_bdbuf_syncdev, bdbuf_swapout_task):
|
||||
Fix bug: disable interrupts and set level properly before
|
||||
_CORE_mutex_Seize invocation).
|
||||
|
||||
2002-02-28 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* Submitted by Victor V. Vengerov <vvv@oktet.ru> and merged
|
||||
|
||||
@@ -37,22 +37,15 @@ extern "C" {
|
||||
typedef struct bdbuf_buffer {
|
||||
Chain_Node link; /* Link in the lru, mod or free chains */
|
||||
|
||||
#ifdef BINARY_TREE
|
||||
struct bdbuf_avl_node {
|
||||
struct bdbuf_buffer *left; /* link to the left sub-tree */
|
||||
struct bdbuf_buffer *right; /* link to the right sub-tree */
|
||||
char cache; /* Cache */
|
||||
|
||||
int bf; /* AVL tree node balance factor */
|
||||
} avl; /* AVL-tree links */
|
||||
#else /* AVL TREE */
|
||||
struct bdbuf_avl_node {
|
||||
char cache; /* Cache */
|
||||
struct bdbuf_buffer* left; /* Left Child */
|
||||
struct bdbuf_buffer* right; /* Right Child */
|
||||
|
||||
struct bdbuf_buffer* link[2]; /* Left and Right Kids */
|
||||
|
||||
char bal; /* The balance of the sub-tree */
|
||||
char bal; /* The balance of the sub-tree */
|
||||
} avl;
|
||||
#endif
|
||||
|
||||
dev_t dev; /* device number */
|
||||
blkdev_bnum block; /* block number on the device */
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user