vmparam.h (75a2f19f2031d613ac6f625ca4a96bde83bbaa74) | vmparam.h (ab73970649667927197c62ff9a8ee5cd4e5e4d8d) |
---|---|
1/*- 2 * Copyright (C) 1995, 1996 Wolfgang Solfrank. 3 * Copyright (C) 1995, 1996 TooLs GmbH. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 84 unchanged lines hidden (view full) --- 93#define VM_MAX_ADDRESS VM_MAXUSER_ADDRESS 94 95 96#if defined(AIM) /* AIM */ 97 98#define KERNBASE 0x00100000 /* start of kernel virtual */ 99 100#define VM_MIN_KERNEL_ADDRESS ((vm_offset_t)(KERNEL_SR << ADDR_SR_SHFT)) | 1/*- 2 * Copyright (C) 1995, 1996 Wolfgang Solfrank. 3 * Copyright (C) 1995, 1996 TooLs GmbH. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 84 unchanged lines hidden (view full) --- 93#define VM_MAX_ADDRESS VM_MAXUSER_ADDRESS 94 95 96#if defined(AIM) /* AIM */ 97 98#define KERNBASE 0x00100000 /* start of kernel virtual */ 99 100#define VM_MIN_KERNEL_ADDRESS ((vm_offset_t)(KERNEL_SR << ADDR_SR_SHFT)) |
101#define VM_MAX_KERNEL_ADDRESS (VM_MIN_KERNEL_ADDRESS + 2*SEGMENT_LENGTH - 1) | 101#define VM_MAX_SAFE_KERNEL_ADDRESS (VM_MIN_KERNEL_ADDRESS + 2*SEGMENT_LENGTH -1) 102#define VM_MAX_KERNEL_ADDRESS (VM_MIN_KERNEL_ADDRESS + 3*SEGMENT_LENGTH - 1) |
102 103/* 104 * Use the direct-mapped BAT registers for UMA small allocs. This 105 * takes pressure off the small amount of available KVA. 106 */ 107#define UMA_MD_SMALL_ALLOC 108 | 103 104/* 105 * Use the direct-mapped BAT registers for UMA small allocs. This 106 * takes pressure off the small amount of available KVA. 107 */ 108#define UMA_MD_SMALL_ALLOC 109 |
109/* 110 * On 64-bit systems in bridge mode, we have no direct map, so we fake 111 * the small_alloc() calls. But we need the VM to be in a reasonable 112 * state first. 113 */ 114#define UMA_MD_SMALL_ALLOC_NEEDS_VM 115 | |
116#else 117 118/* 119 * Kernel CCSRBAR location. We make this the reset location. 120 */ 121#define CCSRBAR_VA 0xfef00000 122#define CCSRBAR_SIZE 0x00100000 123 --- 68 unchanged lines hidden --- | 110#else 111 112/* 113 * Kernel CCSRBAR location. We make this the reset location. 114 */ 115#define CCSRBAR_VA 0xfef00000 116#define CCSRBAR_SIZE 0x00100000 117 --- 68 unchanged lines hidden --- |