Changeset 8e7c9fe in mainline for uspace/srv/hw/irc/icp-ic/icp-ic_hw.h


Ignore:
Timestamp:
2014-09-12T03:45:25Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c53b58e
Parents:
3eb0c85 (diff), 105d8d6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge mainline changes

most usb changes were reverted. blink and usbmass were fixed
known problems:
ehci won't initialize
usbmast asserts on unmount (happens on mainline too)

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/irc/icp-ic/icp-ic_hw.h

    r3eb0c85 r8e7c9fe  
    11/*
    2  * Copyright (c) 2011 Jiri Svoboda
     2 * Copyright (c) 2014 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup libcmips64
     29/** @addtogroup pl050
    3030 * @{
    3131 */
    32 /** @file
     32/** @file ARM PrimeCell PS2 Keyboard/Mouse Interface (PL050) registers
    3333 */
    3434
    35 #ifndef LIBC_mips64_ELF_LINUX_H_
    36 #define LBIC_mips64_ELF_LINUX_H_
     35#ifndef ICP_IC_HW_H
     36#define ICP_IC_HW_H
    3737
    38 #include <libarch/istate.h>
     38#include <ddi.h>
    3939#include <sys/types.h>
    4040
    4141typedef struct {
    42         /* TODO */
    43         uint64_t pad[16];
    44 } elf_regs_t;
    45 
    46 static inline void istate_to_elf_regs(istate_t *istate, elf_regs_t *elf_regs)
    47 {
    48         /* TODO */
    49         (void) istate; (void) elf_regs;
    50 }
     42        ioport32_t irq_status;
     43        ioport32_t irq_rawstat;
     44        ioport32_t irq_enableset;
     45        ioport32_t irq_enableclr;
     46        ioport32_t int_softset;
     47        ioport32_t int_softclr;
     48        ioport32_t fiq_status;
     49        ioport32_t fiq_rawstat;
     50        ioport32_t fiq_enableset;
     51        ioport32_t fiq_enableclr;
     52} icpic_regs_t;
    5153
    5254#endif
Note: See TracChangeset for help on using the changeset viewer.