summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-22 06:38:42 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-12-07 14:22:01 +0100
commit359a3a36ca9bf82054fe6a83bd97868c310e5aae (patch)
tree431e2a12d7950abe39bc63e55d862232c0a3ce4e /cpukit/include/rtems/score
parentscore: Rename Objects_Information::size (diff)
downloadrtems-359a3a36ca9bf82054fe6a83bd97868c310e5aae.tar.bz2
score: Rename Objects_Information::allocation_size
Rename Objects_Information::allocation_size in Objects_Information::objects_per_block. Adjust integer types in _Objects_Shrink_information() and _Objects_Free(). Update #3621.
Diffstat (limited to 'cpukit/include/rtems/score')
-rw-r--r--cpukit/include/rtems/score/objectimpl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/include/rtems/score/objectimpl.h b/cpukit/include/rtems/score/objectimpl.h
index 3a64573f6b..c3597c33ff 100644
--- a/cpukit/include/rtems/score/objectimpl.h
+++ b/cpukit/include/rtems/score/objectimpl.h
@@ -131,7 +131,7 @@ typedef struct {
/** This is the number of objects on the Inactive list. */
Objects_Maximum inactive;
/** This is the number of objects in a block. */
- Objects_Maximum allocation_size;
+ Objects_Maximum objects_per_block;
/** This is the size in bytes of each object instance. */
uint16_t object_size;
/**
@@ -750,7 +750,7 @@ RTEMS_INLINE_ROUTINE Objects_Maximum _Objects_Extend_size(
const Objects_Information *information
)
{
- return information->auto_extend ? information->allocation_size : 0;
+ return information->auto_extend ? information->objects_per_block : 0;
}
/**