Ignore:
Timestamp:
2017-11-14T12:24:42Z (6 years ago)
Author:
Aearsis <Hlavaty.Ondrej@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6cad776
Parents:
887c9de (diff), d2d142a (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.
git-author:
Aearsis <Hlavaty.Ondrej@…> (2017-11-14 01:04:19)
git-committer:
Aearsis <Hlavaty.Ondrej@…> (2017-11-14 12:24:42)
Message:

Merge tag '0.7.1'

The merge wasn't clean, because of changes in build system. The most
significant change was partial revert of usbhc callback refactoring,
which now does not take usb transfer batch, but few named fields again.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/drv/char/sun4v-con/sun4v-con.h

    r887c9de rf9d0a86  
    11/*
    2  * Copyright (c) 2006 Ondrej Palkovsky
     2 * Copyright (c) 2017 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup libcamd64
     29/** @addtogroup genarch
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef LIBC_amd64_STDINT_H_
    36 #define LIBC_amd64_STDINT_H_
     35#ifndef SUN4V_CON_H
     36#define SUN4V_CON_H
    3737
    38 #include <libarch/common.h>
     38#include <async.h>
     39#include <ddf/driver.h>
     40#include <loc.h>
     41#include <stdint.h>
    3942
    40 #define SIZE_MIN  UINT64_MIN
    41 #define SIZE_MAX  UINT64_MAX
     43/** Sun4v console */
     44typedef struct {
     45        async_sess_t *client_sess;
     46        ddf_dev_t *dev;
     47} sun4v_con_t;
    4248
    43 #define UINTPTR_MAX UINT64_MAX
    44 typedef uint64_t uintptr_t;
     49extern int sun4v_con_init(sun4v_con_t *);
     50extern void sun4v_con_write(uint8_t data);
    4551
    46 #define INTPTR_MIN INT64_MIN
    47 #define INTPTR_MAX INT64_MAX
    48 typedef int64_t intptr_t;
    4952
    50 #define UINTMAX_MAX UINT64_MAX
    51 typedef uint64_t uintmax_t;
    52 
    53 #define INTMAX_MAX INT64_MAX
    54 typedef int64_t intmax_t;
     53extern int sun4v_con_add(sun4v_con_t *);
     54extern int sun4v_con_remove(sun4v_con_t *);
     55extern int sun4v_con_gone(sun4v_con_t *);
    5556
    5657#endif
Note: See TracChangeset for help on using the changeset viewer.