aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2012-01-11Fix inline asm for ci_write_xxBenjamin Herrenschmidt1-19/+31
It was clobbering r4 and not marking it as such, causing problems among others in virtio-blk Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-12-20Silenced some compiler warnings that occur when compiling with prototype checksThomas Huth2-4/+4
The compiler flags -Wmissing-prototypes and -Wstrict-prototypes generally help to write code with proper prototypes. This way one can avoid some ugly bugs because it helps to identify functions that do not have prototypes in headers. It also helps to improve performance since local functions then have to be declared "static", so the compiler can do better optimizations. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
2011-11-24Support for virtio-block PCI devicesThomas Huth1-0/+5
The virtio devices are preferred way of providing virtualized devices on KVM/qemu. Here's now the basic support for virtio block devices. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
2011-10-12Improved cache-inhibited access functionsThomas Huth1-10/+27
Implemented the CI functions in cache.h (which are required by net-snk) and fixed a bug in hv_logical_ci_store in libhvcall. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
2011-10-12Removed obsolete types.h header filesThomas Huth1-28/+0
Our "portable" types are defined in stdint.h, so there is no need for the types.h header files anymore. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
2011-10-12Got rid of the ELF loader functions written in Forth, using libelf instead.Thomas Huth1-0/+2
It's cumbersome to maintain code twice, in Forth and in C, and now that libelf has a new important feature (relocation), I removed most of the old Forth functions for ELF loading and use the libelf everywhere instead. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
2011-10-12Reworked libelf to support relocationThomas Huth1-2/+72
Split elf.c into elf32.c and elf64.c for better readability. Added relocation code to libelf for 64-bit ELF images, modified the Paflof Makefile to link the executable with relocation information and load Paflof now to the upper end of the memory. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
2011-10-12Move functions for byte-swapping into common header file.Thomas Huth1-0/+78
The byte-swapping functions were scattered all over the source tree, now they are merged into a new common header file called byteswap.h. Signed-off-by: <thuth@linux.vnet.ibm.com>
2011-03-22Initial qemu/KVM board supportBenjamin Herrenschmidt2-0/+112
Added a new board for SLOF running on KVM/qemu. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
2010-12-01Initial import of slof-JX-1.7.0-4Benjamin Herrenschmidt13-0/+614
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>