pcpu.h (2e370a5c7a5528afb124f6273136736e5d5fb798) pcpu.h (999987e51a2db77e5407c5a2cdb5d759b1317714)
1/*-
2 * Copyright (c) 1999 Luoqi Chen <luoqi@freebsd.org>
3 * Copyright (c) Peter Wemm <peter@netplex.com.au>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 29 unchanged lines hidden (view full) ---

38
39#define PCPU_MD_COMMON_FIELDS \
40 int pc_inside_intr; \
41 struct pmap *pc_curpmap; /* current pmap */ \
42 struct thread *pc_fputhread; /* current fpu user */ \
43 struct thread *pc_vecthread; /* current vec user */ \
44 uintptr_t pc_hwref; \
45 uint32_t pc_pir; \
1/*-
2 * Copyright (c) 1999 Luoqi Chen <luoqi@freebsd.org>
3 * Copyright (c) Peter Wemm <peter@netplex.com.au>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 29 unchanged lines hidden (view full) ---

38
39#define PCPU_MD_COMMON_FIELDS \
40 int pc_inside_intr; \
41 struct pmap *pc_curpmap; /* current pmap */ \
42 struct thread *pc_fputhread; /* current fpu user */ \
43 struct thread *pc_vecthread; /* current vec user */ \
44 uintptr_t pc_hwref; \
45 uint32_t pc_pir; \
46 int pc_bsp:1; \
47 int pc_awake:1; \
46 int pc_bsp; \
47 volatile int pc_awake; \
48 uint32_t pc_ipimask; \
49 register_t pc_tempsave[CPUSAVE_LEN]; \
50 register_t pc_disisave[CPUSAVE_LEN]; \
51 register_t pc_dbsave[CPUSAVE_LEN];
52
53#define PCPU_MD_AIM_FIELDS
54
55#define BOOKE_CRITSAVE_LEN (CPUSAVE_LEN + 2)

--- 85 unchanged lines hidden ---
48 uint32_t pc_ipimask; \
49 register_t pc_tempsave[CPUSAVE_LEN]; \
50 register_t pc_disisave[CPUSAVE_LEN]; \
51 register_t pc_dbsave[CPUSAVE_LEN];
52
53#define PCPU_MD_AIM_FIELDS
54
55#define BOOKE_CRITSAVE_LEN (CPUSAVE_LEN + 2)

--- 85 unchanged lines hidden ---