X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=blobdiff_plain;f=kernel%2Fmem%2Fpagetable.cc;h=04802cab90ef67247a0a34b4f6609bdd49b14ca2;hp=976e579286b5d076b0652bc7e88de788e8522723;hb=2e0cf58da9949572c6e334a07bba6774fdb749f9;hpb=7da27a216a7f4bb3331fe315cdbec69bfcf2c762 diff --git a/kernel/mem/pagetable.cc b/kernel/mem/pagetable.cc index 976e579..04802ca 100644 --- a/kernel/mem/pagetable.cc +++ b/kernel/mem/pagetable.cc @@ -12,18 +12,10 @@ // the Software without restriction, including without limitation the rights to // use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies // of the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: +// so, subject to the following condition: // -// * Redistributions of source code must retain the above copyright notice, -// this list of conditions and the following disclaimers. -// -// * Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimers in the -// documentation and/or other materials provided with the distribution. -// -// * The names of the Software's authors and/or contributors -// may not be used to endorse or promote products derived from -// this Software without specific prior written permission. +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS @@ -421,7 +413,7 @@ namespace Mem { } template - void PageTableImpl::get_entry(u64 addr, u64 *phys, Flags *flags) + void PageTableImpl::get_mapping(u64 addr, u64 *phys, Flags *flags) { Lock::AutoLock autolock(lock); int shift = toplevel_shift;