diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-16 18:16:36 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-16 18:16:36 +0100 |
commit | 37be0abf391f4df8155ca08442964e48a4574ea1 (patch) | |
tree | 2883f0e8f1e9a2a64977d6b479779ffd12c5a413 /include | |
parent | 0cd309e07706b1108447033c9e68c9a60e2aa260 (diff) | |
download | gnumach-37be0abf391f4df8155ca08442964e48a4574ea1.tar.gz gnumach-37be0abf391f4df8155ca08442964e48a4574ea1.tar.bz2 gnumach-37be0abf391f4df8155ca08442964e48a4574ea1.zip |
device_types: Add more const_ types
Diffstat (limited to 'include')
-rw-r--r-- | include/device/device_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/device/device_types.h b/include/device/device_types.h index 63ec26bd..f13122f0 100644 --- a/include/device/device_types.h +++ b/include/device/device_types.h @@ -69,12 +69,14 @@ typedef unsigned int dev_mode_t; * IO buffer - out-of-line array of characters. */ typedef char * io_buf_ptr_t; +typedef const char * const_io_buf_ptr_t; /* * IO buffer - in-line array of characters. */ #define IO_INBAND_MAX (128) /* must match device_types.defs */ typedef char io_buf_ptr_inband_t[IO_INBAND_MAX]; +typedef const char *const_io_buf_ptr_inband_t; /* * IO buffer vector - for scatter/gather IO. |