Compare commits
2 Commits
f50017912d
...
6507146c60
Author | SHA1 | Date | |
---|---|---|---|
6507146c60 | |||
4bad782aad |
@ -4,7 +4,7 @@
|
|||||||
#include "memory/AddressSpace.h"
|
#include "memory/AddressSpace.h"
|
||||||
#include "sys/elf/Image.h"
|
#include "sys/elf/Image.h"
|
||||||
|
|
||||||
#define TASK_MAX_FDS 8
|
#define TASK_MAX_FDS 32
|
||||||
|
|
||||||
struct Task
|
struct Task
|
||||||
{
|
{
|
||||||
|
10
libs/libc/include/luna/os-limits.h
Normal file
10
libs/libc/include/luna/os-limits.h
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#ifndef _LUNA_OS_LIMITS_H
|
||||||
|
#define _LUNA_OS_LIMITS_H
|
||||||
|
|
||||||
|
#define OPEN_MAX 32
|
||||||
|
#define ATEXIT_MAX 32
|
||||||
|
|
||||||
|
#define PAGESIZE 4096
|
||||||
|
#define PAGE_SIZE 4096
|
||||||
|
|
||||||
|
#endif
|
@ -6,6 +6,8 @@
|
|||||||
|
|
||||||
#include <bits/seek.h>
|
#include <bits/seek.h>
|
||||||
|
|
||||||
|
#define FOPEN_MAX 32
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
int f_fd;
|
int f_fd;
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#include <bits/macros.h>
|
#include <bits/macros.h>
|
||||||
#include <bits/seek.h>
|
#include <bits/seek.h>
|
||||||
|
#include <luna/os-limits.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#define STDOUT_FILENO 0
|
#define STDOUT_FILENO 0
|
||||||
|
Loading…
Reference in New Issue
Block a user