genassym.c (8da12732344dc9b58a3855c2cf68980a73c4a9b0) genassym.c (d2ae03bae2add82124973876dec95eb126ff34c8)
1/*-
2 * Copyright (c) 2004 Olivier Houchard
3 * Copyright (c) 2014 Andrew Turner
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:

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

40/* Sizeof arm64_bootparams, rounded to keep stack alignment */
41ASSYM(BOOTPARAMS_SIZE, roundup2(sizeof(struct arm64_bootparams),
42 STACKALIGNBYTES + 1));
43ASSYM(BP_MODULEP, offsetof(struct arm64_bootparams, modulep));
44ASSYM(BP_KERN_DELTA, offsetof(struct arm64_bootparams, kern_delta));
45ASSYM(BP_KERN_STACK, offsetof(struct arm64_bootparams, kern_stack));
46ASSYM(BP_KERN_TTBR0, offsetof(struct arm64_bootparams, kern_ttbr0));
47ASSYM(BP_BOOT_EL, offsetof(struct arm64_bootparams, boot_el));
1/*-
2 * Copyright (c) 2004 Olivier Houchard
3 * Copyright (c) 2014 Andrew Turner
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:

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

40/* Sizeof arm64_bootparams, rounded to keep stack alignment */
41ASSYM(BOOTPARAMS_SIZE, roundup2(sizeof(struct arm64_bootparams),
42 STACKALIGNBYTES + 1));
43ASSYM(BP_MODULEP, offsetof(struct arm64_bootparams, modulep));
44ASSYM(BP_KERN_DELTA, offsetof(struct arm64_bootparams, kern_delta));
45ASSYM(BP_KERN_STACK, offsetof(struct arm64_bootparams, kern_stack));
46ASSYM(BP_KERN_TTBR0, offsetof(struct arm64_bootparams, kern_ttbr0));
47ASSYM(BP_BOOT_EL, offsetof(struct arm64_bootparams, boot_el));
48ASSYM(BP_HCR_EL2, offsetof(struct arm64_bootparams, hcr_el2));
48
49ASSYM(PCPU_SIZE, sizeof(struct pcpu));
50ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb));
51ASSYM(PC_CURTHREAD, offsetof(struct pcpu, pc_curthread));
52ASSYM(PC_SSBD, offsetof(struct pcpu, pc_ssbd));
53
54/* Size of pcb, rounded to keep stack alignment */
55ASSYM(PCB_SIZE, roundup2(sizeof(struct pcb), STACKALIGNBYTES + 1));

--- 23 unchanged lines hidden ---
49
50ASSYM(PCPU_SIZE, sizeof(struct pcpu));
51ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb));
52ASSYM(PC_CURTHREAD, offsetof(struct pcpu, pc_curthread));
53ASSYM(PC_SSBD, offsetof(struct pcpu, pc_ssbd));
54
55/* Size of pcb, rounded to keep stack alignment */
56ASSYM(PCB_SIZE, roundup2(sizeof(struct pcb), STACKALIGNBYTES + 1));

--- 23 unchanged lines hidden ---