db_ps.c (285627) | db_ps.c (286584) |
---|---|
1/*- 2 * Copyright (c) 1993 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 */ 29 30#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1993 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 */ 29 30#include <sys/cdefs.h> |
31__FBSDID("$FreeBSD: head/sys/ddb/db_ps.c 285627 2015-07-16 10:46:52Z zbb $"); | 31__FBSDID("$FreeBSD: head/sys/ddb/db_ps.c 286584 2015-08-10 17:18:21Z kib $"); |
32 33#include "opt_kstack_pages.h" 34 35#include <sys/param.h> 36#include <sys/cons.h> 37#include <sys/jail.h> 38#include <sys/kdb.h> 39#include <sys/proc.h> --- 417 unchanged lines hidden (view full) --- 457 return; 458 } 459 } 460 } 461 462 for (ks_ce = kstack_cache; ks_ce != NULL; 463 ks_ce = ks_ce->next_ks_entry) { 464 if ((vm_offset_t)ks_ce <= saddr && saddr < (vm_offset_t)ks_ce + | 32 33#include "opt_kstack_pages.h" 34 35#include <sys/param.h> 36#include <sys/cons.h> 37#include <sys/jail.h> 38#include <sys/kdb.h> 39#include <sys/proc.h> --- 417 unchanged lines hidden (view full) --- 457 return; 458 } 459 } 460 } 461 462 for (ks_ce = kstack_cache; ks_ce != NULL; 463 ks_ce = ks_ce->next_ks_entry) { 464 if ((vm_offset_t)ks_ce <= saddr && saddr < (vm_offset_t)ks_ce + |
465 PAGE_SIZE * KSTACK_PAGES) { | 465 PAGE_SIZE * kstack_pages) { |
466 db_printf("Cached stack %p\n", ks_ce); 467 return; 468 } 469 } 470} | 466 db_printf("Cached stack %p\n", ks_ce); 467 return; 468 } 469 } 470} |