Commit Graph

816 Commits

Author SHA1 Message Date
Jan Stoess 29d455c5d9 When defining L4_indirect in x86 syscall stub, Avoid naming struct and typedef identically. Append a _t at typedefed type. 2012-03-14 15:28:12 +01:00
Jan Stoess 1dd5147911 Merge branch 'pic_gcc46' of https://github.com/ssumpf/pistachio 2012-03-08 16:15:53 +01:00
Sebastian Sumpf 9081dfca1d Syscalls: Remove "m" input operands from assembly
GCC-4.6 seems to use stack relative addressing for memory input operands (as
opposed to base-pointer relative in older GCC versions). Since most system calls
will change the stack behind the compilers back do not use memory inputs any
more.
2012-03-08 14:07:32 +01:00
Jan Stoess fa25fc1ef6 When compiling with logging extensions, use gc-sections flag for linker. 2011-11-23 17:33:26 +01:00
Jan Stoess d0abf759b1 Use separate subsection rather than section for spinlocks assembly code. 2011-11-23 11:27:20 +01:00
Jan Stoess 550c2c1378 Require IOAPIC be enabled when compiling with SMP support.
Add processor_sleep() function for when SMP_IDLE_POLL is enabled.
2011-11-23 09:54:47 +01:00
Jan Stoess 5c1b29b9c7 When building grubdisk, use strip from toolchain 2011-11-18 10:55:13 +01:00
Jan Stoess 922cffc6e8 When creating grub disk, do not bail out if copying fails 2011-11-18 10:26:13 +01:00
Jan Stoess 769a8e45e4 Silence tons of conversion warnings on newer compilers. 2011-11-18 09:40:48 +01:00
Jan Stoess 9122175e1f Modifications to allow compiling 32-bit binaries on 64-bit machines
(x86) and vice-versa.
2011-11-17 15:18:56 +01:00
Jan Stoess 0fb28f1999 Add .gitignore 2011-11-17 15:18:47 +01:00
Jan Stoess dd624dde5b Added README 2011-10-13 11:36:44 +02:00
Jan Stoess 83e47db64d Fix tracebuffer bugs on PPC 2011-07-19 03:08:03 -07:00
Jan Stoess 7f2c039f07 Fix generation of memory descriptors with newer binutils. Thanks to
Norman Feske.
2011-07-19 01:55:32 -07:00
Jan Stoess 803532cbc9 Make sigma0.h work again with plain C. Thx. to Dan Schatzberg 2011-06-02 11:33:25 -07:00
Jan Stoess f3e198a3c3 Only compile L4_HasFeature when using c++. 2011-04-26 14:19:12 +02:00
Jan Stoess b43e3b1023 Fix bitfield for schedule syscalls 2011-03-24 09:40:40 +01:00
Jan Stoess cca5fd5d95 Flush the TLB when switching from one HVM tcb to another. 2011-02-23 11:17:17 +01:00
Jan Stoess 4da6090e75 Fix space_control signature when compatibility mode is enabled 2010-12-10 14:35:14 +01:00
Jan Stoess 15e3388e80 Fix broken compatibility-mode config 2010-12-10 14:33:07 +01:00
Jan Stoess bf34f2278c Move wrongly placed ifdef 2010-12-10 14:31:01 +01:00
Jan Stoess 08225f6935 Cast fix for gcc-3.3 versions 2010-12-07 14:08:50 +01:00
Jan Stoess 1d459ff127 -Lowercase transtable struct names in order to have coherent coding styleu 2010-12-07 13:51:24 +01:00
Jens Kehne 83bcba646e Introduce extended mappings, allowing to map memory addresses longer than 32 bits on 32 bit systems. For PowerPC, everything above 32 bits is mapped cache-inhibited. 2010-12-02 15:40:13 +01:00
Philipp Kupferschmied 6af04051e9 PIC support for syscall bindings. Thanks to Sebastian Sumpf/Genode Labs 2010-10-14 11:22:53 +02:00
Jan Stoess c38ee120d5 Fix config tarballs (broke during string replacement over the tree) 2010-09-13 19:40:40 +02:00
Jan Stoess e84017fb7b PPC: don't debug-print non-existent ktcb area during bootup 2010-09-13 19:37:20 +02:00
Jan Stoess af23a208d9 PPC: use SUBPLATFORM instead of PLATFORM to distinguish between bg and
ebony
2010-09-13 16:37:34 +02:00
Jan Stoess e793c5b968 -PPC: add user-level tracebuffer stub
-PPC: small fix for BG build
2010-09-13 16:20:01 +02:00
Jan Stoess 2e480db6e9 Add an architecture-independent tracebuffer facility (works for x86
and ppc) for both kernel and user level.
2010-09-09 11:29:56 +02:00
Jan Stoess c53bc2e832 Include cpu.h for get_current_cpu() 2010-08-11 10:16:08 +02:00
Jan Stoess 32b08ecb1c Added a non-ASM implementation of the tracebuffer for X86 and PPC
kernels. User to follow soon.
2010-08-10 18:34:22 +02:00
Jan Stoess 497dc5e8d3 Fix a slight inconsistency in the overmap semantics of Pistachio using
the new mapping database, when overmapping from sigma0. Thanks to
Norman Feske.
2010-08-06 11:05:43 +02:00
Jan Stoess db2d22edab -Another set of small serial console changes 2010-07-15 09:38:50 +02:00
Jan Stoess 66a84463f2 Cleanup and renaming of ppc files to match x86 conventions. 2010-07-14 17:04:41 +02:00
Jan Stoess 876f5010a5 -Build ppc binaries with soft-float, embedded PPC4XX cores may not
have one
-Remove alpha cruft
2010-07-14 16:37:11 +02:00
Jan Stoess 9f39952c3b Initialze pingpong memory early 2010-07-14 16:36:15 +02:00
Jan Stoess cc01ddbda0 - Add ppc_{get,set}_fpscr 2010-07-14 16:35:16 +02:00
Jan Stoess 4a249a0bd3 Merge. 2010-07-14 12:07:01 +02:00
Jan Stoess 919fd029ee -Added support for physical addresses larger than virtual ones, handled
via architecture-specific paddr_t
-Fix type-punning for asid_manager_t
2010-07-14 12:05:40 +02:00
Jan Stoess b6f9ba493f Remove obsolete file. 2010-07-14 11:28:32 +02:00
Jens Kehne 9c7ab6eb12 Merge with f3529cb317fb8ebca40f67cfe08224ea52dfa185 2010-07-13 16:23:18 +02:00
Jens Kehne d0758fa881 UIC:
* Fixed first interrupt after associating the handler getting eaten
* Don't use IPI IRQs unless we're using SMP
2010-07-13 16:08:45 +02:00
Jens Kehne bf8fce9cc1 Merge with e92b4ff4b901e1ccf3540eb3b323196bea877f10 2010-07-13 12:57:06 +02:00
Jan Stoess f85d2ee02f Allow compilation in pure c. 2010-07-12 19:47:30 +02:00
Jan Stoess 452b9b8f16 Allow sigma0.h to be used from pure C. Kudos to Вульф амовски. 2010-07-12 18:18:01 +02:00
Jan Stoess 2a76a4e641 - Small serial console fixes 2010-07-12 16:23:20 +02:00
Jan Stoess 174c92624d Reorganise user-lever ctrlxfer item definitions into an
architecture-dependent and -independent part
2010-07-12 16:12:00 +02:00
Jan Stoess 3ae8f026c3 -PPC: implement uart discovery at user-level 2010-07-06 19:43:10 +02:00
Jan Stoess a26b69835c - ppc: Add hardcoded remaps for ebony board 2010-07-06 19:42:28 +02:00