Changeset d1582b50 in mainline for kernel/generic/src
- Timestamp:
- 2020-12-14T20:41:53Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 02fe42e
- Parents:
- 1382446
- git-author:
- Jiri Svoboda <jiri@…> (2020-12-14 20:33:54)
- git-committer:
- Jiri Svoboda <jiri@…> (2020-12-14 20:41:53)
- Location:
- kernel/generic/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/adt/hash_table.c
r1382446 rd1582b50 331 331 } 332 332 333 /** Removes an item already present in the table. The item must be in the table. */333 /** Removes an item already present in the table. The item must be in the table. */ 334 334 void hash_table_remove_item(hash_table_t *h, ht_link_t *item) 335 335 { … … 393 393 } 394 394 395 /** Allocates and initializes the desired number of buckets. True if successful. */395 /** Allocates and initializes the desired number of buckets. True if successful. */ 396 396 static bool alloc_table(size_t bucket_cnt, list_t **pbuckets) 397 397 { -
kernel/generic/src/mm/as.c
r1382446 rd1582b50 2057 2057 /* Check if A is adjacent to the new interval */ 2058 2058 adj_a = (a != NULL) && (a->page + P2SZ(a->count) == page); 2059 /* Check if the new interval is adjacent to B */2059 /* Check if the new interval is adjacent to B */ 2060 2060 adj_b = (b != NULL) && page + P2SZ(count) == b->page; 2061 2061 -
kernel/generic/src/mm/frame.c
r1382446 rd1582b50 85 85 } 86 86 87 /* ******************/88 /* Zones functions */ 89 /*******************/87 /* 88 * Zones functions 89 */ 90 90 91 91 /** Insert-sort zone into zones list. … … 341 341 } 342 342 343 /* *****************/344 /* Zone functions */ 345 /******************/343 /* 344 * Zone functions 345 */ 346 346 347 347 /** Return frame from zone. */ … … 781 781 } 782 782 783 /* ******************/784 /* Frame functions */ 785 /*******************/783 /* 784 * Frame functions 785 */ 786 786 787 787 /** Set parent of frame. */ -
kernel/generic/src/mm/slab.c
r1382446 rd1582b50 151 151 #endif 152 152 153 /* *************************************/154 /* Slab allocation functions */ 155 /**************************************/153 /* 154 * Slab allocation functions 155 */ 156 156 157 157 /** Allocate frames for slab space and initialize … … 223 223 } 224 224 225 /* *****************/226 /* Slab functions */ 227 /******************/225 /* 226 * Slab functions 227 */ 228 228 229 229 /** Return object to slab and call a destructor … … 323 323 } 324 324 325 /* ***************************/326 /* CPU-Cache slab functions */ 327 /****************************/325 /* 326 * CPU-Cache slab functions 327 */ 328 328 329 329 /** Find a full magazine in cache, take it from list and return it … … 531 531 } 532 532 533 /* ***********************/534 /* Slab cache functions */ 535 /************************/533 /* 534 * Slab cache functions 535 */ 536 536 537 537 /** Return number of objects that fit in certain cache size -
kernel/generic/src/udebug/udebug_ops.c
r1382446 rd1582b50 123 123 /* Now verify that the thread belongs to the current task. */ 124 124 if (thread->task != TASK) { 125 /* No such thread belonging this task */125 /* No such thread belonging this task */ 126 126 mutex_unlock(&TASK->udebug.lock); 127 127 return ENOENT;
Note:
See TracChangeset
for help on using the changeset viewer.