Lines Matching full:sec
107 sec_base = ctypes.addressof(ctypes.c_int.from_buffer(maps["sec"]))
112 self.sec = Regs(sec_base)
113 self.sec.ALTVEC_C0 = 0x04
114 self.sec.ALTVECSEL = 0x0C
115 self.sec.freeze()
129 self.sec.ALTVEC_C0 = boot_vector
130 self.sec.ALTVECSEL = 0x03 # Enable alternate vector
139 sec_base = ctypes.addressof(ctypes.c_int.from_buffer(maps["sec"]))
145 self.sec = Regs(sec_base)
146 self.sec.ALTVEC_C0 = 0x04
147 self.sec.ALTVECSEL = 0x0C
148 self.sec.freeze()
158 self.sec.ALTVEC_C0 = 0
159 self.sec.ALTVECSEL = 0
160 self.sec.ALTVEC_C0 = boot_vector
161 self.sec.ALTVECSEL = 1