mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:27:34 +00:00
Add the basic character devices to kernel.
This commit is contained in:
parent
12e515735b
commit
aec8ab0a60
13 changed files with 52 additions and 58 deletions
|
@ -1,9 +1,14 @@
|
|||
#pragma once
|
||||
|
||||
#include <limits>
|
||||
#include "UnixTypes.h"
|
||||
|
||||
#ifdef SERENITY_KERNEL
|
||||
inline static const Unix::off_t maxFileOffset = 9223372036854775807LL;
|
||||
#else
|
||||
#include <limits>
|
||||
inline static const Unix::off_t maxFileOffset = std::numeric_limits<Unix::off_t>::max();
|
||||
#endif
|
||||
|
||||
static const Unix::size_t GoodBufferSize = 4096;
|
||||
|
||||
inline static const Unix::off_t maxFileOffset = std::numeric_limits<Unix::off_t>::max();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue