search for: ts1_base

Displaying 2 results from an estimated 2 matches for "ts1_base".

Did you mean: csr_base
2007 Apr 18
0
[PATCH 8/21] i386 Segment protect properly
....14-zach-work/drivers/pnp/pnpbios/bioscalls.c 2005-11-05 00:28:08.000000000 -0800 @@ -103,10 +103,8 @@ static inline u16 call_pnp_bios(u16 func spin_lock_irqsave(&pnp_bios_lock, flags); /* The lock prevents us bouncing CPU here */ - if (ts1_size) - Q2_SET_SEL(smp_processor_id(), PNP_TS1, ts1_base, ts1_size); - if (ts2_size) - Q2_SET_SEL(smp_processor_id(), PNP_TS2, ts2_base, ts2_size); + prepare_protected_segment(smp_processor_id(), GDT_ENTRY_PNPBIOS_TS1, ts1_base, ts1_size); + prepare_protected_segment(smp_processor_id(), GDT_ENTRY_PNPBIOS_TS2, ts2_base, ts2_size); __asm__ __volatile_...
2007 Apr 18
0
[PATCH 8/21] i386 Segment protect properly
....14-zach-work/drivers/pnp/pnpbios/bioscalls.c 2005-11-05 00:28:08.000000000 -0800 @@ -103,10 +103,8 @@ static inline u16 call_pnp_bios(u16 func spin_lock_irqsave(&pnp_bios_lock, flags); /* The lock prevents us bouncing CPU here */ - if (ts1_size) - Q2_SET_SEL(smp_processor_id(), PNP_TS1, ts1_base, ts1_size); - if (ts2_size) - Q2_SET_SEL(smp_processor_id(), PNP_TS2, ts2_base, ts2_size); + prepare_protected_segment(smp_processor_id(), GDT_ENTRY_PNPBIOS_TS1, ts1_base, ts1_size); + prepare_protected_segment(smp_processor_id(), GDT_ENTRY_PNPBIOS_TS2, ts2_base, ts2_size); __asm__ __volatile_...