Changeset 7dd2561 in mainline for generic/include
- Timestamp:
- 2005-12-15T15:24:52Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 80d2bdb
- Parents:
- dc747e3
- Location:
- generic/include
- Files:
-
- 2 edited
-
list.h (modified) (1 diff)
-
mm/frame.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
generic/include/list.h
rdc747e3 r7dd2561 33 33 #include <typedefs.h> 34 34 35 /** Doubly linked list head and link type. */ 35 36 struct link { 36 link_t *prev; 37 link_t *next; 37 link_t *prev; /**< Pointer to the previous item in the list. */ 38 link_t *next; /**< Pointer to the next item in the list. */ 38 39 }; 40 41 /** Declare and initialize statically allocated list. 42 * 43 * @param name Name of the new statically allocated list. 44 */ 45 #define LIST_INITIALIZE(name) link_t name = { .prev = &name, .next = &name } 39 46 40 47 /** Initialize doubly-linked circular list link -
generic/include/mm/frame.h
rdc747e3 r7dd2561 84 84 extern link_t zone_head; /**< list of all zones in the system */ 85 85 86 extern void zone_init(void);87 86 extern zone_t *zone_create(__address start, size_t size, int flags); 88 87 extern void zone_attach(zone_t *zone);
Note:
See TracChangeset
for help on using the changeset viewer.
