vsta

Check-in [8c03015859]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Cap memory size to 768 megs; our virtual map can't handle larger sizes, and I can't develop and test a fix until I buy such a large memory config for myself!
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:8c03015859d9c2cecb535f7ea7b6b9124da3a481619039a2221f9633a8867a7f
User & Date: vandys 2001-11-16 11:59:26
Context
2001-11-20
10:21
Use unused "offset" field in MAP_PHYS to assign an optional vaddr. This argument and "vaddr" are really reversed, but compatibility issues make this more of a pain to correct than it's worth. check-in: f66eb8c813 user: vandys tags: master, trunk
2001-11-16
11:59
Cap memory size to 768 megs; our virtual map can't handle larger sizes, and I can't develop and test a fix until I buy such a large memory config for myself! check-in: 8c03015859 user: vandys tags: master, trunk
2001-10-25
19:22
New man page organization. check-in: 0417d8ec27 user: vandys tags: master, trunk
Changes
Hide Diffs Unified Diffs Show Whitespace Changes Patch

Changes to vsta/src/os/mach/init.c.

217
218
219
220
221
222
223








224
225
226
227
228
229
230
	 */
	ASSERT(size_base > 630*K, "need 640K base mem");
	ASSERT(size_ext >= K*K, "need 1M extended mem");
	memsegs[0].m_base = 0;
	memsegs[0].m_len = size_base;
	memsegs[1].m_base = (void *)(K*K);
	memsegs[1].m_len = size_ext;









	/*
	 * Point heap at first byte beyond _end; it will almost
	 * certainly be advanced past boot tasks next, but this
	 * makes it possible to test the kernel by itself.
	 */
	if (nboot_task == 0) {







>
>
>
>
>
>
>
>







217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
	 */
	ASSERT(size_base > 630*K, "need 640K base mem");
	ASSERT(size_ext >= K*K, "need 1M extended mem");
	memsegs[0].m_base = 0;
	memsegs[0].m_len = size_base;
	memsegs[1].m_base = (void *)(K*K);
	memsegs[1].m_len = size_ext;

	/*
	 * Cap memory due to limits on virtual address space mapping
	 * of available RAM.
	 */
	if (size_ext > 768*K*K) {
		memsegs[1].m_len = 768*K*K;
	}

	/*
	 * Point heap at first byte beyond _end; it will almost
	 * certainly be advanced past boot tasks next, but this
	 * makes it possible to test the kernel by itself.
	 */
	if (nboot_task == 0) {