Lines Matching +full:master +full:- +full:kernel
1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright 2000 - 2001 Silicon Graphics, Inc.
5 * Copyright 2000 - 2001 Kanoj Sarcar (kanoj@sgi.com)
10 #include <linux/kernel.h>
21 #include "ip27-common.h"
26 * XXX - This needs to be much smarter about where it puts copies of the
27 * kernel. For example, we should never put a copy on a headless node,
32 /* Set only the master cnode's bit. The master cnode is always 0. */ in setup_replication_mask()
38 #error Kernel replication works with mapped kernel support. No calias support. in setup_replication_mask()
46 /* Advertise that we have a copy of the kernel */ in setup_replication_mask()
52 GDA->g_ktext_repmask = &ktext_repmask; in setup_replication_mask()
60 kvp = &hub_data(client_nasid)->kern_vars; in set_ktext_source()
64 kvp->kv_magic = KV_MAGIC; in set_ktext_source()
65 kvp->kv_ro_nasid = server_nasid; in set_ktext_source()
66 kvp->kv_rw_nasid = master_nasid; in set_ktext_source()
67 kvp->kv_ro_baseaddr = NODE_CAC_BASE(server_nasid); in set_ktext_source()
68 kvp->kv_rw_baseaddr = NODE_CAC_BASE(master_nasid); in set_ktext_source()
72 /* XXX - When the BTE works, we should use it instead of this. */
79 kern_size = source_end - source_start; in copy_kernel()
93 /* Record where the master node should get its kernel text */ in replicate_kernel_text()
100 /* Check if this node should get a copy of the kernel */ in replicate_kernel_text()
106 /* Record where this node should get its kernel text */ in replicate_kernel_text()
124 offset = PAGE_ALIGN((unsigned long)(&_end)) - loadbase; in node_getfirstfree()