UINT64
PUVAR("idrss", "IDRSS", 0, p_uru_idrss, UINT64, PRIu64),
PUVAR("inblk", "INBLK", 0, p_uru_inblock, UINT64, PRIu64),
PUVAR("isrss", "ISRSS", 0, p_uru_isrss, UINT64, PRId64),
PUVAR("ixrss", "IXRSS", 0, p_uru_ixrss, UINT64, PRId64),
PUVAR("majflt", "MAJFLT", 0, p_uru_majflt, UINT64, PRIu64),
PUVAR("maxrss", "MAXRSS", 0, p_uru_maxrss, UINT64, PRIu64),
PUVAR("minflt", "MINFLT", 0, p_uru_minflt, UINT64, PRIu64),
PUVAR("msgrcv", "MSGRCV", 0, p_uru_msgrcv, UINT64, PRIu64),
PUVAR("msgsnd", "MSGSND", 0, p_uru_msgsnd, UINT64, PRIu64),
PUVAR("nivcsw", "NIVCSW", 0, p_uru_nivcsw, UINT64, PRIu64),
PVAR("nlwp", "NLWP", 0, p_nlwps, UINT64, PRId64),
PUVAR("nsigs", "NSIGS", 0, p_uru_nsignals, UINT64, PRIu64),
PUVAR("nswap", "NSWAP", 0, p_uru_nswap, UINT64, PRIu64),
PUVAR("nvcsw", "NVCSW", 0, p_uru_nvcsw, UINT64, PRIu64),
PUVAR("oublk", "OUBLK", 0, p_uru_oublock, UINT64, PRIu64),
PUVAR("pagein", "PAGEIN", 0, p_uru_majflt, UINT64, PRIu64),
PVAR("rlwp", "RLWP", 0, p_nrlwps, UINT64, PRId64),
case UINT64:
case UINT64:
case UINT64:
static UINT64
UINT64 win_base;
tables = (UINT64 *)((char *)xsdt + xsdt->Header.Length) -
tables = (UINT64 *)((char *)xsdt + xsdt->Header.Length) -
tables = (UINT64 *)((char *)xsdt + xsdt->Header.Length) -
UINT64 base;
UINT64 apic_tbl;
acpi_root.XsdtPhysicalAddress = (UINT64)&xsdt;
UINT64 IoSapicAddress; /* SAPIC's physical address */
ACPI_PHYSICAL_ADDRESS address, UINT32 bit_width, UINT64 *value,
UINT32 bit_width, UINT64 *value, void *handler_ctx,
UINT64 val;
UINT64 tmp, mask;
UINT64 tmp, mask;
AcpiOsReadMemory(ACPI_PHYSICAL_ADDRESS Address, UINT64 *Value, UINT32 Width)
AcpiOsWriteMemory(ACPI_PHYSICAL_ADDRESS Address, UINT64 Value, UINT32 Width)
AcpiOsReadPciConfiguration(ACPI_PCI_ID *PciId, UINT32 Register, UINT64 *Value,
UINT64
static UINT64 xt;
UINT64 t;
t = (UINT64)10 * tv.tv_usec;
t += (UINT64)10000000 * tv.tv_sec;
const UINT64 *osindsup;
const UINT64 *osindsup;
UINT64 osind;
efi_block_do_read_blockio(struct efi_block_dev *bdev, UINT64 off, void *buf,
UINT64 blkbuf_offset;
UINT64 blkbuf_size, alloc_size;
efi_block_do_read_diskio(struct efi_block_dev *bdev, UINT64 off, void *buf,
efi_block_do_read(struct efi_block_dev *bdev, UINT64 off, void *buf,
efi_block_readahead(struct efi_block_dev *bdev, UINT64 off, void *buf,
UINT64 mediasize, len;
efi_block_read(struct efi_block_dev *bdev, UINT64 off, void *buf,
static UINT64 efi_ra_start = 0;
static UINT64 efi_ra_length = 0;
UINT64 off;
UINT64 phys_start, phys_size;