|
Lines 120-125
Link Here
|
| 120 |
#include <sys/ptrace.h> |
120 |
#include <sys/ptrace.h> |
| 121 |
#include <machine/sigframe.h> |
121 |
#include <machine/sigframe.h> |
| 122 |
|
122 |
|
|
|
123 |
#include "isa.h" |
| 124 |
|
| 123 |
extern void init386 __P((int first)); |
125 |
extern void init386 __P((int first)); |
| 124 |
extern void dblfault_handler __P((void)); |
126 |
extern void dblfault_handler __P((void)); |
| 125 |
|
127 |
|
|
Lines 1807-1812
Link Here
|
| 1807 |
phys_avail[pa_indx] -= round_page(MSGBUF_SIZE); |
1811 |
phys_avail[pa_indx] -= round_page(MSGBUF_SIZE); |
| 1808 |
|
1812 |
|
| 1809 |
avail_end = phys_avail[pa_indx]; |
1813 |
avail_end = phys_avail[pa_indx]; |
|
|
1814 |
|
| 1815 |
#if NISA > 0 |
| 1816 |
#define ISA_MEM_END (16 * 1024 * 1024) |
| 1817 |
#define ISA_MEM_CONSERVELIM (128 * 1024 * 1024) |
| 1818 |
if (pa_indx + 2 < PHYS_AVAIL_ARRAY_END) { |
| 1819 |
for (i = pa_indx; i >= 1; i -= 2) |
| 1820 |
if (phys_avail[i - 1] < ISA_MEM_END && |
| 1821 |
phys_avail[i] > ISA_MEM_CONSERVELIM) |
| 1822 |
break; |
| 1823 |
if (i >= 1) { |
| 1824 |
phys_avail[pa_indx + 4] = 0; |
| 1825 |
phys_avail[pa_indx + 3] = 0; |
| 1826 |
for (i = pa_indx; i >= 1; i-= 2) { |
| 1827 |
phys_avail[i + 2] = phys_avail[i]; |
| 1828 |
phys_avail[i + 1] = phys_avail[i -1]; |
| 1829 |
if (phys_avail[i - 1] < ISA_MEM_END && |
| 1830 |
phys_avail[i] > ISA_MEM_CONSERVELIM) { |
| 1831 |
phys_avail[i + 1] = ISA_MEM_END; |
| 1832 |
phys_avail[i] = ISA_MEM_END; |
| 1833 |
break; |
| 1834 |
} |
| 1835 |
} |
| 1836 |
} |
| 1837 |
} |
| 1838 |
#endif |
| 1810 |
} |
1839 |
} |
| 1811 |
|
1840 |
|
| 1812 |
void |
1841 |
void |
|
Lines 1943-1949
Link Here
|
| 1943 |
*/ |
1972 |
*/ |
| 1944 |
cninit(); |
1973 |
cninit(); |
| 1945 |
|
1974 |
|
| 1946 |
#include "isa.h" |
|
|
| 1947 |
#if NISA >0 |
1975 |
#if NISA >0 |
| 1948 |
isa_defaultirq(); |
1976 |
isa_defaultirq(); |
| 1949 |
#endif |
1977 |
#endif |