Commit Graph

20 Commits

Author SHA1 Message Date
bb185366a6 This fixes the majority of the issues but mainly adds get_free_size that exists in the main() and a missing include for memcpy etc 2024-02-14 19:05:14 -08:00
3305ef401c oops forgot the last of the changes 2024-02-14 16:55:09 -08:00
f83a00f4d5 Merge remote-tracking branch 'origin/main' into gbowne1_impl 2024-02-14 16:51:02 -08:00
fe9d9e3836 fixing issues from PR 2024-02-14 16:21:16 -08:00
19b2e31119 gbowne1 version of implementation with more implementations done 2024-02-14 00:21:54 -08:00
af512c99b6 Removed sbrk and brk and only used the brk system call. 2024-02-11 00:25:42 -08:00
7ebc328b5a fixed get_heap_size function by adding null pointer checks. 2024-02-08 18:51:44 -08:00
0e2633db9d Added get_heap_size function. 2024-02-08 18:50:58 -08:00
103277bf63 Added ralloc function. 2024-02-08 17:47:44 -08:00
c0da3fdefe Added ralloc function. 2024-02-08 17:42:03 -08:00
0b25fa434f Added memory block fragmenting. 2024-02-08 17:24:49 -08:00
14d4e0ee67 Fixed forward defragmenting, added reverse defragmenting, and added a line break on second printf. 2024-02-08 17:04:41 -08:00
3b38eddf5d Optimized code by adding last block global variable. 2024-02-08 16:44:26 -08:00
6525d5f2b9 Reinstated a necessary cast. 2024-02-08 02:09:58 -08:00
dd07283ffc Removed unnecessary casts. 2024-02-08 02:08:38 -08:00
f49256d7e7 Code optimization. 2024-02-08 02:07:49 -08:00
eaa93effaf Fixed grammatical error. 2024-02-08 02:05:06 -08:00
a9fcd9102f Added documentation. 2024-02-08 02:00:57 -08:00
1517046258 Implemented malloc and free. Needs reverse chunking, and fragmenting implemented. 2024-02-08 01:44:09 -08:00
404c9c052a First commit. 2024-02-07 23:15:44 -08:00