Last change
on this file since 610 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
1.2 KB
|
Rev | Line | |
---|
[444] | 1 | /* |
---|
| 2 | |
---|
| 3 | Copyright (c) 2013 Red Hat, Inc. All rights reserved. |
---|
| 4 | |
---|
| 5 | This copyrighted material is made available to anyone wishing to use, modify, |
---|
| 6 | copy, or redistribute it subject to the terms and conditions of the BSD |
---|
| 7 | License. This program is distributed in the hope that it will be useful, |
---|
| 8 | but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties |
---|
| 9 | of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license |
---|
| 10 | is available at http://www.opensource.org/licenses. Any Red Hat trademarks that |
---|
| 11 | are incorporated in the source code or documentation are not subject to the BSD |
---|
| 12 | License and may only be used or replicated with the express permission of |
---|
| 13 | Red Hat, Inc. |
---|
| 14 | |
---|
| 15 | */ |
---|
| 16 | |
---|
| 17 | #ifndef CIO_BUF_SIZE |
---|
| 18 | #define CIO_BUF_SIZE 64 |
---|
| 19 | #endif |
---|
| 20 | |
---|
| 21 | typedef struct { |
---|
| 22 | unsigned char length[2]; |
---|
| 23 | unsigned char parms[9]; |
---|
| 24 | unsigned char buf[CIO_BUF_SIZE]; |
---|
| 25 | } __CIOBUF__TYPE__; |
---|
| 26 | |
---|
| 27 | extern __CIOBUF__TYPE__ __CIOBUF__; |
---|
| 28 | |
---|
| 29 | extern void _libgloss_cio_hook (void); |
---|
| 30 | |
---|
| 31 | #define CIO_OPEN (0xF0) |
---|
| 32 | #define CIO_CLOSE (0xF1) |
---|
| 33 | #define CIO_READ (0xF2) |
---|
| 34 | #define CIO_WRITE (0xF3) |
---|
| 35 | #define CIO_LSEEK (0xF4) |
---|
| 36 | #define CIO_UNLINK (0xF5) |
---|
| 37 | #define CIO_GETENV (0xF6) |
---|
| 38 | #define CIO_RENAME (0xF7) |
---|
| 39 | #define CIO_GETTIME (0xF8) |
---|
| 40 | #define CIO_GETCLK (0xF9) |
---|
| 41 | #define CIO_SYNC (0xFF) |
---|
| 42 | |
---|
Note: See
TracBrowser
for help on using the repository browser.