@@ -322,6 +322,7 @@ impl CapDLSpecContainer {
322322 prio : 0 ,
323323 max_prio : 0 ,
324324 resume : false ,
325+ fpu : true ,
325326 ip : entry_point. into ( ) ,
326327 sp : 0 . into ( ) ,
327328 gprs : Vec :: new ( ) ,
@@ -468,7 +469,7 @@ pub fn build_capdl_spec(
468469 )
469470 . unwrap ( ) ;
470471
471- // At this point, all of the required objects for the monitor have been created and it caps inserted into
472+ // At this point, all of the required objects for the monitor have been created and its caps inserted into
472473 // the correct slot in the CSpace. We need to bind those objects into the TCB for the monitor to use them.
473474 // In addition, `add_elf_to_spec()` doesn't fill most the details in the TCB.
474475 // Now fill them in: stack ptr, priority, ipc buf vaddr, etc.
@@ -939,6 +940,7 @@ pub fn build_capdl_spec(
939940 affinity : Word ( vcpu. cpu . 0 . into ( ) ) ,
940941 prio : virtual_machine. priority ,
941942 max_prio : virtual_machine. priority ,
943+ fpu : true ,
942944 resume : false ,
943945 // VMs do not have program images associated with them so these are always zero.
944946 ip : Word ( 0 ) ,
@@ -1007,6 +1009,7 @@ pub fn build_capdl_spec(
10071009 pd_tcb. extra . master_fault_ep = None ; // Not used on MCS kernel.
10081010 pd_tcb. extra . prio = pd. priority ;
10091011 pd_tcb. extra . max_prio = pd. priority ;
1012+ pd_tcb. extra . fpu = pd. fpu ;
10101013 pd_tcb. extra . resume = true ;
10111014
10121015 pd_tcb. slots . extend ( caps_to_bind_to_tcb) ;
0 commit comments