Changeset 4670d91 in rtems


Ignore:
Timestamp:
May 15, 2009, 12:52:12 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
4a6d160
Parents:
3b7e9bc
Message:

2009-05-15 Sebastian Huber <sebastian.huber@…>

  • Doxygen.in: Fixed project name. Added project number. Enabled auto brief. Disabled include graphs.
  • include/rtems/irq-extension.h, libblock/include/rtems/bdpart.h, libblock/include/rtems/bdbuf.h, libblock/include/rtems/bdpart.h, libblock/include/rtems/blkdev.h, libblock/include/rtems/diskdevs.h, libblock/include/rtems/ramdisk.h, libblock/src/bdbuf.c, libblock/src/blkdev.c, libblock/src/diskdevs.c, libblock/src/ramdisk.c: Documentation.
  • libblock/src/bdpart.c: Documentation. Fixed NULL pointer access.
Location:
cpukit
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • cpukit/Doxyfile.in

    r3b7e9bc r4670d91  
    1818# by quotes) that should identify the project.
    1919
    20 PROJECT_NAME           = RTEMS CPU Kit including SuperCore
     20PROJECT_NAME           = "RTEMS CPU Kit with SuperCore"
    2121
    2222# The PROJECT_NUMBER tag can be used to enter a project or revision number.
     
    2424# if some version control system is used.
    2525
    26 PROJECT_NUMBER         =
     26PROJECT_NUMBER         = @PACKAGE_VERSION@
    2727
    2828# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
     
    106106# explict @brief command for a brief description.
    107107
    108 JAVADOC_AUTOBRIEF      = NO
     108JAVADOC_AUTOBRIEF      = YES
     109
     110# If the QT_AUTOBRIEF tag is set to YES then Doxygen will
     111# interpret the first line (until the first dot) of a Qt-style
     112# comment as the brief description. If set to NO, the comments
     113# will behave just like regular Qt-style comments (thus requiring
     114# an explicit \brief command for a brief description.)
     115
     116QT_AUTOBRIEF           = YES
    109117
    110118# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen
     
    877885
    878886PREDEFINED             = FALSE=0 \
    879    CPU_USE_GENERIC_BITFIELD_DATA=0
     887   CPU_USE_GENERIC_BITFIELD_DATA=0 \
     888   __attribute__(x)= \
     889   RTEMS_COMPILER_NO_RETURN_ATTRIBUTE= \
     890   RTEMS_COMPILER_DEPRECATED_ATTRIBUTE=
    880891
    881892# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
     
    9921003# other documented files.
    9931004
    994 INCLUDE_GRAPH          = YES
     1005INCLUDE_GRAPH          = NO
    9951006
    9961007# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and
     
    9991010# indirectly include this file.
    10001011
    1001 INCLUDED_BY_GRAPH      = YES
     1012INCLUDED_BY_GRAPH      = NO
    10021013
    10031014# If the CALL_GRAPH and HAVE_DOT tags are set to YES then doxygen will
  • cpukit/include/rtems/irq-extension.h

    r3b7e9bc r4670d91  
    44 * @ingroup rtems_interrupt_extension
    55 *
    6  * @brief Header file for the RTEMS Interrupt Manager Extension.
     6 * @brief Header file for the Interrupt Manager Extension.
    77 */
    88
     
    3131
    3232/**
    33  * @defgroup rtems_interrupt_extension RTEMS Interrupt Manager Extension
     33 * @defgroup rtems_interrupt_extension Interrupt Manager Extension
    3434 *
    3535 * @ingroup ClassicINTR
  • cpukit/libblock/include/rtems/bdbuf.h

    r3b7e9bc r4670d91  
    11/**
    22 * @file
     3 *
     4 * @ingroup rtems_bdbuf
    35 *
    46 * Block device buffer management.
  • cpukit/libblock/include/rtems/bdpart.h

    r3b7e9bc r4670d91  
    11/**
    22 * @file
     3 *
     4 * @ingroup rtems_bdpart
    35 *
    46 * Block device partition management.
     
    246248 * physical disk device with name @a disk_name.
    247249 *
    248  * The array of positive integer weights in @a distribution must be of size @a
    249  * size.  The weights in the distribution array are summed up.  Each weight is
    250  * then divided by the sum to obtain the disk fraction which forms the
    251  * corresponding partition.  The partition boundaries are generated with
    252  * respect to the output format in @a format.
     250 * The array of positive integer weights in @a distribution must have exactly
     251 * @a count elements.  The weights in the distribution array are summed up.
     252 * Each weight is then divided by the sum to obtain the disk fraction which
     253 * forms the corresponding partition.  The partition boundaries are generated
     254 * with respect to the output format in @a format.
    253255 */
    254256rtems_status_code rtems_bdpart_create(
  • cpukit/libblock/include/rtems/blkdev.h

    r3b7e9bc r4670d91  
    11/**
    22 * @file
     3 *
     4 * @ingroup rtems_blkdev
    35 *
    46 * Block device management.
  • cpukit/libblock/include/rtems/diskdevs.h

    r3b7e9bc r4670d91  
    11/**
    22 * @file
     3 *
     4 * @ingroup rtems_disk
    35 *
    46 * Block device disk management.
  • cpukit/libblock/include/rtems/ramdisk.h

    r3b7e9bc r4670d91  
    11/**
    22 * @file
     3 *
     4 * @ingroup rtems_ramdisk
    35 *
    46 * RAM disk block device.
  • cpukit/libblock/src/bdbuf.c

    r3b7e9bc r4670d91  
    11/**
    22 * @file
     3 *
     4 * @ingroup rtems_bdbuf
    35 *
    46 * Block device buffer management.
  • cpukit/libblock/src/bdpart.c

    r3b7e9bc r4670d91  
    11/**
    22 * @file
     3 *
     4 * @ingroup rtems_bdpart
    35 *
    46 * Block device partition management.
     
    320322  rtems_bdbuf_buffer *block = NULL;
    321323  rtems_bdpart_partition *p = pt - 1;
    322   rtems_bdpart_partition *p_end = NULL;
     324  const rtems_bdpart_partition *p_end = pt + (count != NULL ? *count : 0);
    323325  rtems_blkdev_bnum ep_begin = 0; /* Extended partition begin */
    324326  rtems_blkdev_bnum ebr = 0; /* Extended boot record block index */
     
    333335  }
    334336
    335   /* Set table end and the count to a save value */
    336   p_end = pt + *count;
     337  /* Set count to a save value */
    337338  *count = 0;
    338339
     
    464465  rtems_status_code sc = RTEMS_SUCCESSFUL;
    465466  rtems_status_code esc = RTEMS_SUCCESSFUL;
    466   bool dos_compatibility = format->type == RTEMS_BDPART_FORMAT_MBR
     467  bool dos_compatibility = format != NULL
     468    && format->type == RTEMS_BDPART_FORMAT_MBR
    467469    && format->mbr.dos_compatibility;
    468470  rtems_bdbuf_buffer *block = NULL;
     
    681683{
    682684  rtems_status_code sc = RTEMS_SUCCESSFUL;
    683   bool dos_compatibility = format->type == RTEMS_BDPART_FORMAT_MBR
     685  bool dos_compatibility = format != NULL
     686    && format->type == RTEMS_BDPART_FORMAT_MBR
    684687    && format->mbr.dos_compatibility;
    685688  rtems_blkdev_bnum disk_end = 0;
  • cpukit/libblock/src/blkdev.c

    r3b7e9bc r4670d91  
    22 * @file
    33 *
     4 * @ingroup rtems_blkdev
     5 *
    46 * Block device management.
    57 */
    68 
    79/*
    8  * blkdev.h - block device driver generic support
    9  *
    1010 * Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
    1111 * Author: Victor V. Vengerov <vvv@oktet.ru>
  • cpukit/libblock/src/diskdevs.c

    r3b7e9bc r4670d91  
    11/**
    22 * @file
     3 *
     4 * @ingroup rtems_disk
    35 *
    46 * Block device disk management.
     
    68 
    79/*
    8  * diskdevs.c - Physical and logical block devices (disks) support
    9  *
    1010 * Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
    1111 * Author: Victor V. Vengerov <vvv@oktet.ru>
  • cpukit/libblock/src/ramdisk.c

    r3b7e9bc r4670d91  
    11/**
    22 * @file
     3 *
     4 * @ingroup rtems_ramdisk
    35 *
    46 * RAM disk block device.
Note: See TracChangeset for help on using the changeset viewer.