Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
9aac94a
Pseudocode implementation for k_mem_count_extfrag
PhiaYe Jan 21, 2021
6669908
Revert "Pseudocode implementation for k_mem_count_extfrag"
PhiaYe Jan 21, 2021
b890b18
Pseudocode implementation for k_mem_count_extfrag
PhiaYe Jan 21, 2021
cb06375
Revert "Pseudocode implementation for k_mem_count_extfrag"
PhiaYe Jan 21, 2021
43b61a6
define node struct, add init and malloc
Jan 25, 2021
9584e0c
add 4 byte alginment
Jan 25, 2021
db66d2e
fix returns
Jan 25, 2021
27efe01
Pseudocode implementation for k_mem_count_extfrag
PhiaYe Jan 21, 2021
e6f06e3
Merge branch 'master' of github.com:Jspsun/ece350
PhiaYe Jan 26, 2021
2c23bfe
add to template
Jan 26, 2021
04d3aef
revert svc/src/kernal/k_mem
Jan 26, 2021
0833b90
fix extfrag
Jan 26, 2021
18f0340
add uint
Jan 26, 2021
eec428c
Extfrag test (#6)
PhiaYe Jan 26, 2021
7c07c4e
add size check and return pointer
Jan 26, 2021
c1945ed
Merge branch 'master' of github.com:Jspsun/ece350
PhiaYe Jan 26, 2021
316ff7f
Dealloc working for the base test cases (#7)
hanyuanye Jan 26, 2021
27f323d
align end_addr by 4
Jan 26, 2021
c88ada7
Merge branch 'master' of github.com:Jspsun/ece350
PhiaYe Jan 26, 2021
10de6bf
add first test (#9)
Jspsun Jan 26, 2021
cffb6bb
Merge branch 'master' of github.com:Jspsun/ece350
PhiaYe Jan 26, 2021
846d1c2
Wrote out test 4
Jan 27, 2021
5158a09
wrong equals
Jan 27, 2021
f5c45dc
forgot to call the function...
Jan 27, 2021
731400a
Used Bit(2) twice)
Jan 27, 2021
d3aa8cc
added node size to extfrag test
Jan 27, 2021
a61f56c
extfrag last node fix
Jan 27, 2021
9a08819
fix malloc edge cases
Jan 27, 2021
132343f
clean up whitespace
Jan 27, 2021
3777283
fix malloc newNode next pointer
PhiaYe Jan 27, 2021
ec82776
Merge branch 'master' of github.com:Jspsun/ece350
PhiaYe Jan 27, 2021
572b67a
Test2 3 (#12)
PhiaYe Jan 27, 2021
13e887a
Wrote out test 4
Jan 27, 2021
f3e3b88
wrong equals
Jan 27, 2021
e133620
forgot to call the function...
Jan 27, 2021
1abc862
Used Bit(2) twice)
Jan 27, 2021
fe0da79
added node size to extfrag test
Jan 27, 2021
d91db67
extfrag last node fix
Jan 27, 2021
04821fc
Merge branch 'test4' of https://github.com/Jspsun/ece350 into test4
Jan 28, 2021
b859ee3
added test_mem call and renamed test4 to test_extfrag
Jan 28, 2021
75915de
some of my changes didnt make it in :smile:
Jan 28, 2021
9cda1f1
Merge pull request #13 from Jspsun/test4
stingray127 Jan 28, 2021
c503abe
Merge branch 'master' of github.com:Jspsun/ece350
PhiaYe Jan 28, 2021
77aca7e
Performance testing (#14)
PhiaYe Jan 28, 2021
3c94c4c
Merge branch 'master' of github.com:Jspsun/ece350
PhiaYe Jan 28, 2021
2b8587d
Update README.md
hanyuanye Jan 28, 2021
7f41e53
Update README.md
hanyuanye Jan 28, 2021
ecd3790
Arms ds files (#15)
PhiaYe Jan 28, 2021
f4d056c
Merge branch 'master' of github.com:Jspsun/ece350
PhiaYe Jan 28, 2021
7b50351
Merge remote-tracking branch 'upstream/master'
Jan 31, 2021
570b9bb
Lab1 submission (#16)
Jspsun Feb 5, 2021
478109d
Merge branch 'master' of github.com:Jspsun/ece350
PhiaYe Feb 6, 2021
1abbef2
Merge remote-tracking branch 'upstream/master'
Feb 9, 2021
788f87a
Merge branch 'master' of github.com:Jspsun/ece350
PhiaYe Feb 9, 2021
2cac085
Merge remote-tracking branch 'upstream/master'
Feb 10, 2021
6251bb8
Merge branch 'master' of github.com:Jspsun/ece350
PhiaYe Feb 10, 2021
4b834a2
add malloc changes for ownership
Feb 8, 2021
67f1cf0
use tid
Feb 8, 2021
c8a57e1
add de-alloc checks
Feb 9, 2021
61ad124
mock tests
Feb 9, 2021
52d4cd6
add tsk_exit
Feb 9, 2021
7d3cbd4
8 byte align
Feb 11, 2021
a7c4a15
update tsk exit
Feb 11, 2021
6ee3120
update tcb call
Feb 11, 2021
eb887c5
fixed cur isfree update in mem_alloc()
Feb 11, 2021
460037c
K tsk create (#18)
PhiaYe Feb 11, 2021
798e543
Merge branch 'master' of github.com:Jspsun/ece350
PhiaYe Feb 11, 2021
a0d3e1a
added test4 mock case
Feb 11, 2021
d2728db
Merge branch 'master' into update-malloc
Jspsun Feb 11, 2021
5e290eb
Merge pull request #17 from Jspsun/update-malloc
Jspsun Feb 11, 2021
4c2b91b
added usp and ksp testing
Feb 12, 2021
292df5d
kmem bugfixes + pstack alloc, ktask pointer + scheduler fix
Feb 12, 2021
572585e
Merge branch 'master' of github.com:Jspsun/ece350
PhiaYe Feb 12, 2021
dd4f223
forgot to push k_mem build fixes
Feb 12, 2021
3f961f1
Merge branch 'master' of github.com:Jspsun/ece350
PhiaYe Feb 12, 2021
7631da1
Fixed scatter file to dynamic path
PhiaYe Feb 12, 2021
0dfa0a1
found a bug in k_task
Feb 12, 2021
8ed107e
Revert "found a bug in k_task"
Feb 12, 2021
16cae1c
Merge branch 'master' of https://github.com/Jspsun/ece350
Feb 12, 2021
3e6cc0c
fixed p stack
Feb 12, 2021
34732ba
k_alloc_p_stack should build now
Feb 12, 2021
f77e413
replace hardcoded address with RAM_END macro (#21)
PhiaYe Feb 12, 2021
3b209bd
Added tests to priv task entry for k_sp and u_sp right after create
PhiaYe Feb 12, 2021
7c4be50
Bug fix removed duplicate +stack_size to u_stack_hi
PhiaYe Feb 12, 2021
2f77e33
Fixed a lot of memory and init bugs
Feb 13, 2021
a5a12fa
added memory priv check code, also uncommented the priv check code in…
Feb 13, 2021
d8521a9
updated testDataOwnership testcases
Feb 13, 2021
c779309
set_prio calls k_tsk_yield() now
Feb 13, 2021
e172d4e
fixed u_sp and k_sp
PhiaYe Feb 13, 2021
350e6e2
Added test for active kernel task to get its own k_sp
PhiaYe Feb 13, 2021
6ce17ed
add submission
Feb 13, 2021
7fbd67e
Merge remote-tracking branch 'upstream/master'
Mar 2, 2021
5a94a02
init, can build and receive input from serial
Mar 3, 2021
3e4bd14
Implemented mailbox, added basic kcd, testing inputs
Mar 3, 2021
3ea8b3c
Working on getting it to spam hello world properly
Mar 4, 2021
2e41e51
KCD task implemented KCD_REG and KEY_IN processing
PhiaYe Mar 6, 2021
2d7e1d1
Fixed compile issues with previous commit code. Fixed kcd task creati…
Mar 7, 2021
0d1c2cc
Adding another user task to interrupt
Mar 8, 2021
feb7132
Added new helper struct in common_ext for key in
Mar 8, 2021
7c0d121
Changed implementation to use RTX_MSG_CHAR struct, updated message cr…
PhiaYe Mar 9, 2021
cc78c58
Error check fix
PhiaYe Mar 9, 2021
ba5b5a4
fixed bugs with mailbox
Mar 11, 2021
bf3ac6a
Merge branch 'lab3-kcd' into lab4
Mar 11, 2021
4eee3ed
Merge branch 'master' of github.com:yqh/ece350
PhiaYe Mar 11, 2021
743d319
Testing KCD task, added a lot of helper prints
Mar 11, 2021
892b1fa
Merge branch 'master' into lab3-kcd
PhiaYe Mar 11, 2021
ae562f2
Moved kcd_task to its appropriate file. Pushing this to see if the ex…
Mar 11, 2021
7a51135
wrote a thorough kcd task test sequence
Mar 11, 2021
94d4e01
was using k_send_msg oops
Mar 11, 2021
831d9c7
Turns out sizeof does 4byte alignment
Mar 11, 2021
e2d3ccb
was storing characters not TID in registration. Also added some dummy…
Mar 11, 2021
68ae794
Verified KCD task testing scenario
Mar 11, 2021
ea3555c
removed helper print functions from kcd_task
Mar 11, 2021
e1c7523
Merge remote-tracking branch 'upstream/master'
Jspsun Mar 24, 2021
0f1c206
Merge branch 'master' of https://github.com/Jspsun/ece350
Mar 24, 2021
0fb4607
copying over
Mar 24, 2021
415194c
Merge branch 'lab3-kcd'
Mar 24, 2021
8b64429
copy pasted so it compiles
Mar 24, 2021
536e699
implemented create/done/suspend
Apr 1, 2021
082186c
Merge remote-tracking branch 'upstream/master'
PhiaYe Apr 4, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ manual/*.toc
*.crf
*.d
*.plg
*.xml
# *.sct
*.tra
*.lnp
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,12 @@ This directory contains starter code of each lab.

### `submission`
This directory contains template files for project submissions.

Within manual_code:

#### `template`
This directory contains the code the group edited for this project.

The directory kernel contains the code used for memory management.

The directory app contains the file ae_mem.c which contains our testing code.
268 changes: 268 additions & 0 deletions manual_code/lab1/template/.cproject

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions manual_code/lab1/template/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>SVC</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>clean,full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.arm.debug.ds.nature</nature>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
</natures>
</projectDescription>
204 changes: 204 additions & 0 deletions manual_code/lab1/template/SVC.launch

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions manual_code/lab1/template/src/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>src</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
Loading