def METHOD_NAME(self):
    kbrd_buf_head = self.cs.mem.read_physical_mem_dword(0x41A) & 0x000000FF
    kbrd_buf_tail = self.cs.mem.read_physical_mem_dword(0x41C) & 0x000000FF
    self.logger.log("[*] Keyboard buffer head pointer = 0x{:X} (at 0x41A), tail pointer = 0x{:X} (at 0x41C)".format(kbrd_buf_head, kbrd_buf_tail))
    bios_kbrd_buf = self.cs.mem.read_physical_mem(0x41E, 32)
    self.logger.log("[*] Keyboard buffer contents (at 0x41E):")
    print_buffer_bytes(bios_kbrd_buf)
    bios_kbrd_buf = bios_kbrd_buf.decode('latin_1')
    has_contents = False
    if COMMON_FILL_PTRN == bios_kbrd_buf:
        self.logger.log_good("Keyboard buffer is filled with common fill pattern")
        return ModuleResult.PASSED
    for x in bios_kbrd_buf:
        if ("\x00" != x) and ("\x20" != x):
            has_contents = True
            break
    if (0x1E < kbrd_buf_tail) and (kbrd_buf_tail <= 0x1E + 32):
        self.logger.log_bad("Keyboard buffer tail points inside the buffer (= 0x{:X})".format(kbrd_buf_tail))
        self.logger.log("    It may potentially expose lengths of pre-boot passwords. Was your password {:d} characters long?".format((kbrd_buf_tail + 2 - 0x1E) // 2))
    self.logger.log("[*] Checking contents of the keyboard buffer..\n")
    if has_contents:
        self.logger.log_warning("Keyboard buffer is not empty. The test cannot determine conclusively if it contains pre-boot passwords.")
        self.logger.log("  - The contents might have not been cleared by pre-boot firmware or overwritten with garbage.")
        self.logger.log("  - Visually inspect the contents of keyboard buffer for pre-boot passwords (BIOS, HDD, full-disk encryption).")
    else:
        self.logger.log_passed("Keyboard buffer looks empty. Pre-boot passwords don't seem to be exposed")
    return (ModuleResult.WARNING if has_contents else ModuleResult.PASSED)