@@ -28,6 +28,7 @@ typedef struct Vctl Vctl;
#define MAXSYSARG 5 /* for mount(fd, afd, mpt, flag, arg) */
#define KMESGSIZE (256*1024) /* lots, for acpi debugging */
+#define STAGESIZE 2048
/*
* parameters for sysproc.c
@@ -13,7 +13,7 @@
struct
{
- char output[16384];
+ char output[PCICONSSIZE];
int ptr;
}PCICONS;
@@ -58,6 +58,16 @@ typedef int Devgen(Chan*, char*, Dirtab*, int, int, Dir*);
#include <fcall.h>
+#ifndef KMESGSIZE
+#define KMESGSIZE (16*1024)
+#endif
+#ifndef PCICONSSIZE
+#define PCICONSSIZE (16*1024)
+#ifndef STAGESIZE
+#define STAGESIZE 64
+
struct Ref
Lock;
@@ -853,7 +863,7 @@ struct PhysUart
};
enum {
- Stagesize= 2048
+ Stagesize= STAGESIZE
@@ -959,7 +969,3 @@ enum
#pragma varargck type "V" uchar*
#pragma varargck type "E" uchar*
#pragma varargck type "M" uchar*
-
-#ifndef KMESGSIZE
-#define KMESGSIZE (16*1024)
-#endif