Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/_maxphys.h
- This file was added.
| /*- | |||||
| * This file is in the public domain. | |||||
kib: I suspect we do need a copyright boilerplate for the file, even if a single SPDX-line kind. | |||||
| */ | |||||
| #ifndef MAXPHYS /* max raw I/O transfer size */ | |||||
| #ifdef __ILP32__ | |||||
| #define MAXPHYS (128 * 1024) | |||||
| #else | |||||
impUnsubmitted Not Done Inline ActionsThe one i propsed had shifts and no comments imp: The one i propsed had shifts and no comments | |||||
gallatinAuthorUnsubmitted Done Inline ActionsWhoops, sorry. I missed that in our convo.. I'm happy to remove the comment, but I'd prefer to keep the #defines the same because:
gallatin: Whoops, sorry. I missed that in our convo.. I'm happy to remove the comment, but I'd prefer… | |||||
| #define MAXPHYS (1024 * 1024) | |||||
| #endif | |||||
| #endif | |||||
I suspect we do need a copyright boilerplate for the file, even if a single SPDX-line kind.