356 Commits

Author SHA1 Message Date
Matthew Fernandez
1d51025fe8 bf gen: Removed some undefined bit shifts.
The bitfield generator constructs tags as enums. The compiler is free to back
these by any type big enough to cover the enum. The generator emits code that
uses these tag values in mask and shift operations where the target type is
typically a uint32_t. As a result, it can produce code involving undefined
shifts like:

 (seL4_CapData_Badge & 0x1) << 31

This commit casts the tag value to the unsigned target type before masking to
ensure everything is done on an appropriate sized unsigned type.

JIRA: SELFOUR-193
2014-10-28 16:48:26 +11:00
Matthew Fernandez
3b6321f28a bf gen: Fix missing include.
The bitfield generator uses the macros CONST and PURE which, for libsel4, are
defined in macros.h.
2014-10-28 11:41:14 +11:00
Matthew Fernandez
03ee240ef1 bf gen: Fix whitespace in constructors and getters. 2014-10-27 13:58:22 +11:00
Adrian Danis
7d877465de ia32: Move as much of the interrupt and syscall traps into C as possible 2014-08-12 14:00:28 +10:00
Max R.D. Parmer
da5ec79cf9 Use usr/bin/env for all python bangpaths to enable virtualenv use.
Very useful with python3 as the default platform.
2014-08-03 18:53:14 -07:00
TrusthworthySystems
91b7da8625 Release snapshot 2014-07-18 05:03:59 +10:00