Changeset f9d0a86 in mainline for uspace/drv/char/msim-con/msim-con.h
- Timestamp:
- 2017-11-14T12:24:42Z (6 years ago)
- 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)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/msim-con/msim-con.h
r887c9de rf9d0a86 1 1 /* 2 * Copyright (c) 20 06 Ondrej Palkovsky2 * Copyright (c) 2017 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup libcia6429 /** @addtogroup genarch 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef LIBC_ia64_TYPES_H_36 #define LIBC_ia64_TYPES_H_35 #ifndef MSIM_CON_H 36 #define MSIM_CON_H 37 37 38 #include <libarch/common.h> 39 #include <libarch/stddef.h> 40 #include <libarch/stdint.h> 38 #include <async.h> 39 #include <ddf/driver.h> 40 #include <loc.h> 41 #include <stdint.h> 41 42 42 #define __64_BITS__ 43 /** MSIM console */ 44 typedef struct { 45 async_sess_t *client_sess; 46 ddf_dev_t *dev; 47 } msim_con_t; 43 48 44 #define SSIZE_MIN INT64_MIN 45 #define SSIZE_MAX INT64_MAX 49 extern int msim_con_init(msim_con_t *); 50 extern void msim_con_write(uint8_t data); 46 51 47 typedef uint64_t sysarg_t;48 typedef int64_t native_t;49 52 50 typedef uint64_t atomic_count_t; 51 typedef int64_t atomic_signed_t; 52 53 typedef struct { 54 uintptr_t fnc; 55 uintptr_t gp; 56 } __attribute__((may_alias)) fncptr_t; 53 extern int msim_con_add(msim_con_t *); 54 extern int msim_con_remove(msim_con_t *); 55 extern int msim_con_gone(msim_con_t *); 57 56 58 57 #endif
Note:
See TracChangeset
for help on using the changeset viewer.