(set-accessed-bit entry) → a-entry
Function:
(defun set-accessed-bit (entry) (declare (type (unsigned-byte 64) entry)) (let ((__function__ 'set-accessed-bit)) (declare (ignorable __function__)) (!ia32e-page-tablesbits->a 1 entry)))
Theorem:
(defthm return-type-of-set-accessed-bit (b* ((a-entry (set-accessed-bit entry))) (unsigned-byte-p 64 a-entry)) :rule-classes :rewrite)
Theorem:
(defthm n64p-set-accessed-bit (unsigned-byte-p 64 (set-accessed-bit val)) :rule-classes (:rewrite (:type-prescription :corollary (natp (set-accessed-bit val)) :hints (("Goal" :in-theory '(unsigned-byte-p integer-range-p natp)))) (:linear :corollary (and (<= 0 (set-accessed-bit val)) (< (set-accessed-bit val) 18446744073709551616)) :hints (("Goal" :in-theory '(unsigned-byte-p integer-range-p (:e expt)))))))