Changeset 6b781c0 in mainline for kernel/arch/arm32/include/types.h


Ignore:
Timestamp:
2007-06-08T15:02:49Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c03ee1c
Parents:
3ee8a075
Message:

Merge arm32 into trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/include/types.h

    r3ee8a075 r6b781c0  
    11/*
    2  * Copyright (c) 2003-2007 Jakub Jermar
     2 * Copyright (c) 2007 Pavel Jancik, Michal Kebrt
    33 * All rights reserved.
    44 *
     
    3131 */
    3232/** @file
     33 *  @brief Type definitions.
    3334 */
    3435
    3536#ifndef KERN_arm32_TYPES_H_
    3637#define KERN_arm32_TYPES_H_
     38
     39#ifndef DOXYGEN
     40#       define ATTRIBUTE_PACKED __attribute__ ((packed))
     41#else
     42#       define ATTRIBUTE_PACKED
     43#endif
    3744
    3845#define NULL 0
     
    7077typedef int32_t devno_t;
    7178
    72 /** Page Table Entry. */
     79
     80/** Page table entry.
     81 *
     82 *  We have different structs for level 0 and level 1 page table entries.
     83 *  See page.h for definition of pte_level*_t.
     84 */
    7385typedef struct {
    74         /* placeholder */
     86        unsigned dummy : 32;
    7587} pte_t;
    7688
Note: See TracChangeset for help on using the changeset viewer.