The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/arm/include/machdep.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* $NetBSD: machdep.h,v 1.7 2002/02/21 02:52:21 thorpej Exp $ */
    2 /* $FreeBSD: releng/11.1/sys/arm/include/machdep.h 317004 2017-04-16 07:21:20Z mmel $ */
    3 
    4 #ifndef _MACHDEP_BOOT_MACHDEP_H_
    5 #define _MACHDEP_BOOT_MACHDEP_H_
    6 
    7 /* Structs that need to be initialised by initarm */
    8 #if __ARM_ARCH >= 6
    9 extern vm_offset_t irqstack;
   10 extern vm_offset_t undstack;
   11 extern vm_offset_t abtstack;
   12 #else
   13 struct pv_addr;
   14 extern struct pv_addr irqstack;
   15 extern struct pv_addr undstack;
   16 extern struct pv_addr abtstack;
   17 #endif
   18 
   19 /* Define various stack sizes in pages */
   20 #define IRQ_STACK_SIZE  1
   21 #define ABT_STACK_SIZE  1
   22 #define UND_STACK_SIZE  1
   23 
   24 /* misc prototypes used by the many arm machdeps */
   25 struct trapframe;
   26 void arm_lock_cache_line(vm_offset_t);
   27 void init_proc0(vm_offset_t kstack);
   28 void halt(void);
   29 void abort_handler(struct trapframe *, int );
   30 void set_stackptrs(int cpu);
   31 void undefinedinstruction_bounce(struct trapframe *);
   32 
   33 /* Early boot related helper functions */
   34 struct arm_boot_params;
   35 vm_offset_t default_parse_boot_param(struct arm_boot_params *abp);
   36 vm_offset_t fake_preload_metadata(struct arm_boot_params *abp,
   37     void *dtb_ptr, size_t dtb_size);
   38 vm_offset_t parse_boot_param(struct arm_boot_params *abp);
   39 void arm_parse_fdt_bootargs(void);
   40 void arm_print_kenv(void);
   41 
   42 void arm_generic_initclocks(void);
   43 
   44 /* Board-specific attributes */
   45 void board_set_serial(uint64_t);
   46 void board_set_revision(uint32_t);
   47 
   48 int arm_predict_branch(void *, u_int, register_t, register_t *,
   49     u_int (*)(void*, int), u_int (*)(void*, vm_offset_t, u_int*));
   50 
   51 #ifdef MULTIDELAY
   52 typedef void delay_func(int, void *);
   53 void arm_set_delay(delay_func *, void *);
   54 #endif
   55 
   56 #ifdef EFI
   57 struct efi_map_header;
   58 struct mem_region;
   59 void arm_add_efi_map_entries(struct efi_map_header *efihdr,
   60     struct mem_region *mr, int *mrcnt);
   61 #endif
   62 
   63 #endif /* !_MACHINE_MACHDEP_H_ */

Cache object: 568660a00f4053720e6671c3bfc91c3b


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.