Changeset 6da1013f in mainline for kernel/arch/ppc32


Ignore:
Timestamp:
2009-02-12T20:09:19Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
84266669
Parents:
7004747
Message:

simplify configuration
introduce arch_construct_function and inb/outb (sometimes empty) on all platforms
various code cleanup

Location:
kernel/arch/ppc32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ppc32/include/asm.h

    r7004747 r6da1013f  
    150150extern void userspace_asm(uintptr_t uspace_uarg, uintptr_t stack, uintptr_t entry);
    151151
     152/** No I/O port address space on PowerPC. */
     153static inline void outb(ioport_t port, uint8_t v)
     154{
     155}
     156
     157/** No I/O port address space on PowerPC. */
     158static inline uint8_t inb(ioport_t port)
     159{
     160        return 0;
     161}
     162
    152163#endif
    153164
  • kernel/arch/ppc32/src/ppc32.c

    r7004747 r6da1013f  
    168168}
    169169
     170/** Construct function pointer
     171 *
     172 * @param fptr   function pointer structure
     173 * @param addr   function address
     174 * @param caller calling function address
     175 *
     176 * @return address of the function pointer
     177 *
     178 */
     179void *arch_construct_function(fncptr_t *fptr, void *addr, void *caller)
     180{
     181        return addr;
     182}
     183
    170184/** @}
    171185 */
Note: See TracChangeset for help on using the changeset viewer.