Displaying 2 results from an estimated 2 matches for "anychanged".
Did you mean:
anychance
2006 Nov 30
41
TDD killing my joy of Rails
I''ve been working through the book ''Beginning Ruby on Rails E-Commerce''
which is very heavy on Test Driven Development. As in, you have to
write tests for scaffolding methods and validations and crap like that.
And then they fail. And you KNOW its the test not the method. So you
spend 2x the time writing a test that has to be adapted when
requirements change. You
2003 Aug 22
3
PAE removal patch for testing
...x\n",
pv->pv_va, tpte);
@@ -1728,9 +1894,9 @@
void
pmap_protect(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, vm_prot_t prot)
{
- pt_entry_t *pte;
- pd_entry_t pde;
- vm_offset_t nva;
+ register unsigned *ptbase;
+ vm_offset_t pdnxt, ptpaddr;
+ vm_pindex_t sindex, eindex;
int anychanged;
if (pmap == NULL)
@@ -1746,15 +1912,20 @@
anychanged = 0;
- for (; sva < eva; sva = nva) {
+ ptbase = get_ptbase(pmap);
+
+ sindex = i386_btop(sva);
+ eindex = i386_btop(eva);
+
+ for (; sindex < eindex; sindex = pdnxt) {
unsigned pdirindex;
- nva = (sva + NBPDR) & ~PDR...