Skip to content

Commit

Permalink
Make endpoint caps the same on x86 and ARM and move to common structu…
Browse files Browse the repository at this point in the history
…res file
  • Loading branch information
AdrianDanis committed May 13, 2015
1 parent f65ff11 commit dd4372e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 22 deletions.
12 changes: 0 additions & 12 deletions include/arch/arm/arch/object/structures.bf
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,6 @@ base 32

---- Arch-independent caps

block endpoint_cap(capEPBadge, capCanGrant, capCanSend, capCanReceive,
capEPPtr, capType) {
field_high capEPPtr 28
padding 1
field capCanGrant 1
field capCanReceive 1
field capCanSend 1

field capEPBadge 28
field capType 4
}

block async_endpoint_cap {
field capAEPBadge 28
padding 2
Expand Down
10 changes: 0 additions & 10 deletions include/arch/ia32/arch/object/structures.bf
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,6 @@ base 32

---- Arch-independent caps

block endpoint_cap {
field capEPBadge 29
field capCanGrant 1
field capCanSend 1
field capCanReceive 1

field_high capEPPtr 28
field capType 4
}

block async_endpoint_cap {
field capAEPBadge 29
padding 1
Expand Down
12 changes: 12 additions & 0 deletions include/object/structures.bf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ block untyped_cap {
field capType 4
}

block endpoint_cap(capEPBadge, capCanGrant, capCanSend, capCanReceive,
capEPPtr, capType) {
field_high capEPPtr 28
padding 1
field capCanGrant 1
field capCanReceive 1
field capCanSend 1

field capEPBadge 28
field capType 4
}

block thread_cap {
padding 32

Expand Down

0 comments on commit dd4372e

Please sign in to comment.