| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: param.h,v 1.17 2011/06/20 06:29:53 matt Exp $ */ | | 1 | /* $NetBSD: param.h,v 1.18 2011/07/28 01:24:31 macallan Exp $ */ |
2 | | | 2 | |
3 | /*- | | 3 | /*- |
4 | * Copyright (C) 1995, 1996 Wolfgang Solfrank. | | 4 | * Copyright (C) 1995, 1996 Wolfgang Solfrank. |
5 | * Copyright (C) 1995, 1996 TooLs GmbH. | | 5 | * Copyright (C) 1995, 1996 TooLs GmbH. |
6 | * All rights reserved. | | 6 | * All rights reserved. |
7 | * | | 7 | * |
8 | * Redistribution and use in source and binary forms, with or without | | 8 | * Redistribution and use in source and binary forms, with or without |
9 | * modification, are permitted provided that the following conditions | | 9 | * modification, are permitted provided that the following conditions |
10 | * are met: | | 10 | * are met: |
11 | * 1. Redistributions of source code must retain the above copyright | | 11 | * 1. Redistributions of source code must retain the above copyright |
12 | * notice, this list of conditions and the following disclaimer. | | 12 | * notice, this list of conditions and the following disclaimer. |
13 | * 2. Redistributions in binary form must reproduce the above copyright | | 13 | * 2. Redistributions in binary form must reproduce the above copyright |
14 | * notice, this list of conditions and the following disclaimer in the | | 14 | * notice, this list of conditions and the following disclaimer in the |
| @@ -43,19 +43,19 @@ | | | @@ -43,19 +43,19 @@ |
43 | * 4KB isn't enough for a full boot message for a macppc system anymore | | 43 | * 4KB isn't enough for a full boot message for a macppc system anymore |
44 | */ | | 44 | */ |
45 | #ifndef MSGBUFSIZE | | 45 | #ifndef MSGBUFSIZE |
46 | #define MSGBUFSIZE (3*NBPG) | | 46 | #define MSGBUFSIZE (3*NBPG) |
47 | #endif | | 47 | #endif |
48 | | | 48 | |
49 | /* | | 49 | /* |
50 | * Minimum and maximum sizes of the kernel malloc arena in PAGE_SIZE-sized | | 50 | * Minimum and maximum sizes of the kernel malloc arena in PAGE_SIZE-sized |
51 | * logical pages. | | 51 | * logical pages. |
52 | */ | | 52 | */ |
53 | #define NKMEMPAGES_MIN_DEFAULT ((8 * 1024 * 1024) >> PAGE_SHIFT) | | 53 | #define NKMEMPAGES_MIN_DEFAULT ((8 * 1024 * 1024) >> PAGE_SHIFT) |
54 | #define NKMEMPAGES_MAX_DEFAULT ((48 * 1024 * 1024) >> PAGE_SHIFT) | | 54 | #define NKMEMPAGES_MAX_DEFAULT ((48 * 1024 * 1024) >> PAGE_SHIFT) |
55 | | | 55 | |
56 | /* at this offset we mmap() the PCI IO range in display drivers */ | | | |
57 | #define PCI_MAGIC_IO_RANGE 0xf2000000 | | | |
58 | | | | |
59 | #endif /* _KERNEL && !_MODULE */ | | 56 | #endif /* _KERNEL && !_MODULE */ |
60 | | | 57 | |
| | | 58 | /* at this offset we mmap() the PCI IO range in display drivers */ |
| | | 59 | #define PCI_MAGIC_IO_RANGE 0xf2000000 |
| | | 60 | |
61 | #include <powerpc/param.h> | | 61 | #include <powerpc/param.h> |