Adrian Danis
f65ff11956
Make cap types that are exactly the same on ARM and x86 defined in a common location
2015-05-14 09:42:18 +10:00
Adrian Danis
952e5a272b
Add ability to set a human readable thread name when running kernel in debug mode
2015-05-14 09:32:58 +10:00
Adrian Danis
fc1e413e5b
ia32: Move many assembly operations from .S file into inline assembly
2015-05-13 17:00:26 +10:00
Gerwin Klein
1a568e764a
remove generated adglobs type
...
It's become obsolete after correspongin Isabelle C parser change.
2015-05-09 06:46:31 +10:00
Adrian Danis
69f37863aa
Trivial: style
2015-05-04 11:50:48 +10:00
Tim Newsham
7bd0da5533
am335x: setup clock and enable dmtimer3
2015-05-04 11:46:06 +10:00
Adrian Danis
e581882c3c
trivial: style
2015-04-17 13:52:37 +10:00
Sean Peters
8abdf6c5ed
ia32: added the option to disable prefetchers
2015-04-15 14:38:55 +10:00
Sean Peters
efcacb55ba
split the types header into basic and compound to resolve circular dependencies
2015-04-15 11:57:08 +10:00
Gerwin Klein
5ddff6cf22
add Tim Newsham and Robbie Van Vossen to contributor list
2015-04-01 11:58:31 +11:00
Gerwin Klein
60ed681095
CONTRIBUTING.md file for github
2015-04-01 11:47:42 +11:00
akroh
a5f61c7166
ARM: Fix hardcoded CPSR value for the idle thread
2015-03-23 10:34:08 +11:00
Tim Newsham
092b2c1f35
am335x: allow UART to be used even in debug mode
2015-03-19 15:48:49 +11:00
akroh
5ef85de0c1
Fix user access for VCNT
2015-03-19 12:03:56 +11:00
Matthew Fernandez
de935520cf
ARM: Add some debugging error printfs for failed PD lookup during page map.
...
This helps more easily diagnose the case where a lookup failure from a page map
is not caused by a failure to lookup the page cap, but a failure to lookup the
PD cap. No effect on verification.
2015-03-18 17:11:27 +11:00
Adrian Danis
12990f2092
libsel4: Updating xml specification for syscall stub changes
2015-03-12 16:06:58 +11:00
Adrian Danis
a9111d4b5d
libsel4: Support multiple struct types for the generated syscall stubs
2015-03-10 15:12:06 +11:00
Matthew Fernandez
4f12acd270
ARM: Map the initial thread's IPC buffer and boot info as non-executable.
...
Note that this also required some irrelevant x86 changes to match function
arguments.
2015-03-09 14:16:37 +11:00
Matthew Fernandez
86751e48f4
ARM: Set the XN bit on kernel mappings that do not need to be executable.
...
This covers the kernel stack, globals frame and device memory. We shouldn't be
executing in any of these pages, so functionality should be unaffected. This is
primarily a debugging aid.
2015-03-09 14:16:37 +11:00
Matthew Fernandez
3775341b9b
libsel4: Remove unused right seL4_Transfer_Mint.
2015-03-04 15:42:16 +11:00
akroh
b62b20f24d
ARM: Add config options for exporting PMU and ARM generic timer physical count registers to PL0
2015-02-24 11:15:46 +11:00
Tim Newsham
ec4ff01f05
- fix am335x spurious interrupt issue
2015-02-23 10:29:23 +11:00
Matthew Fernandez
0233f5c411
manual: Fix missing init thread domain in boot info.
2015-02-18 11:35:05 +11:00
Matthew Fernandez
4e2d71aa02
manual: Fix spelling of init domain cap slot constant.
2015-02-18 11:35:05 +11:00
Adrian Danis
cb250d4c5e
Trivial:style
2015-02-17 17:05:06 +11:00
Adrian Danis
e7c9885f35
ia32: Rework the notion of isValidVTableRoot to be a check for what is permissable for a TCB to contain in its VTableRoot, and create a new isValidNativeRoot to be a check for whether a capability is a PD or PDPT that can be directly run. VTableRoots that are not native would be something like EPT if using vtx
2015-02-17 16:43:30 +11:00
Adrian Danis
f2ac14f12f
arm: Rename BI_CAP_IT_PD to BI_CAP_IT_VSPACE to match x86 and common boot code
2015-02-17 10:44:41 +11:00
Adrian Danis
a5e442a70e
Merge branch master into pae
2015-02-17 10:37:33 +11:00
Adrian Danis
d8eadae289
Trivial: style
2015-02-17 10:20:18 +11:00
Adrian Danis
7acfbd7202
am335x: Remove dead code
2015-02-17 10:19:31 +11:00
Tim Newsham
80308386e7
- fix am335x interrupt handling and disable watchdog
2015-02-17 10:15:12 +11:00
Adrian Danis
01ba49802c
trivial: style
2015-02-16 10:20:06 +11:00
Robbie VanVossen
f28eb2c586
Added support for the Allwinner A20 platform (specifically the CubieTruck board)
2015-02-13 10:24:42 -05:00
Robbie VanVossen
a13f8053ac
Fixed the ifeq that checks the cpu and defines it for the code by adding cortex-a15 check.
2015-02-13 10:22:44 -05:00
Adrian Danis
42c93cbe50
ia32: Correct pdpt modifications to reload cr3 as required by the intel manual
2015-02-11 15:05:08 +11:00
Matthew Fernandez
5e7030cb0a
libsel4: Name the user context struct.
...
Without a name, this struct (and its typedef) comes out as an anonymous type
when imported into Isabelle. This makes it difficult to automate proofs of
functions that use this type.
See also JIRA VER-434
2015-02-11 09:54:04 +11:00
Matthew Fernandez
1ade74c8c2
Fix Kconfig typo.
2015-02-09 11:30:59 +11:00
Adrian Danis
af0f3b361f
ia32: Large commit that implements PAE paging for x86
...
This commit involves the PAE paging itself, refactoring the
vspace code to extra what is common between PAE and 32bit paging,
as well as some renaming to not call the root paging structure
a PD
2015-01-28 12:11:51 +11:00
Matthew Fernandez
3c13124c6a
Fix more trivial comment typos.
2015-01-27 11:58:55 +11:00
Matthew Fernandez
84fbc34eb8
IA32: Fix trivial comment typo.
2015-01-27 11:42:32 +11:00
Matthew Fernandez
c317d5b8df
libsel4: Fix trivial comment typos.
2015-01-27 11:42:32 +11:00
Gerwin Klein
98ea248152
remove include of deleted CSpace/VSpace.lhs
2015-01-27 11:23:03 +11:00
Adrian Danis
14bfc396b2
ia32: Move _boot_pd definition from linker script to C
2015-01-16 11:14:36 +11:00
Adrian Danis
09b22d3f6a
Trivial: style
2015-01-13 16:41:18 +11:00
Adrian Danis
0adf212462
libsel4: Ensure the ARM syscall stubs always treat instances of seL4_MessageInfo as POD
...
A C++ compiler will attempt to interpret 'return info' as an invocation of a copy
constructor. Even though the copy constructor is auto-generated (and eventually
completely eliminated due to inlining) and just does obvious member copying it
still results in an intermediate invocation that must take a reference to 'info'.
Because 'info' is a register variable it is not permissable to take a reference
to it. Manually reconstructing a new info from the .words keeps everything as
Plain Old Data
2015-01-13 14:22:29 +11:00
Matthew Fernandez
c8ea916f62
Kconfig: Remove x86_64 platform options.
...
This branch does not have support for this platform.
2015-01-09 10:25:36 +11:00
akroh
d796aa0a22
zynq: Increase kernel window size (start at 0xe0000000) now that the elfloader does not attempt to access the serial port at 0xe0001000 after PD switch
2015-01-07 16:58:33 +11:00
akroh
986de67742
trivial: fix directory listings
2015-01-06 17:58:20 +11:00
akroh
bcdb09d93b
Merge exynos debug serial drivers
2015-01-06 17:49:07 +11:00
Anna Lyons
28d7fda6a9
make include/api/constants.h the same as libsel4/include/sel4/constants.h
2014-12-23 13:21:28 +11:00