at91_machdep.c (261690) | at91_machdep.c (262923) |
---|---|
1/*- 2 * Copyright (c) 1994-1998 Mark Brinicombe. 3 * Copyright (c) 1994 Brini. 4 * All rights reserved. 5 * 6 * This code is derived from software written for Brini by Mark Brinicombe 7 * 8 * Redistribution and use in source and binary forms, with or without --- 30 unchanged lines hidden (view full) --- 39 * Machine dependant functions for kernel setup 40 * 41 * This file needs a lot of work. 42 * 43 * Created : 17/09/94 44 */ 45 46#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1994-1998 Mark Brinicombe. 3 * Copyright (c) 1994 Brini. 4 * All rights reserved. 5 * 6 * This code is derived from software written for Brini by Mark Brinicombe 7 * 8 * Redistribution and use in source and binary forms, with or without --- 30 unchanged lines hidden (view full) --- 39 * Machine dependant functions for kernel setup 40 * 41 * This file needs a lot of work. 42 * 43 * Created : 17/09/94 44 */ 45 46#include <sys/cdefs.h> |
47__FBSDID("$FreeBSD: head/sys/arm/at91/at91_machdep.c 261690 2014-02-09 21:21:10Z ian $"); | 47__FBSDID("$FreeBSD: head/sys/arm/at91/at91_machdep.c 262923 2014-03-08 05:03:56Z imp $"); |
48 49#define _ARM32_BUS_DMA_PRIVATE 50#include <sys/param.h> 51#include <sys/systm.h> 52#include <sys/sysproto.h> 53#include <sys/signalvar.h> 54#include <sys/imgact.h> 55#include <sys/kernel.h> --- 367 unchanged lines hidden (view full) --- 423 * try to get the matching CPU support. 424 */ 425 soc_info.soc_data = at91_match_soc(soc_info.type, soc_info.subtype); 426 soc_info.dbgu_base = AT91_BASE + dbgu_base; 427 428 return (1); 429} 430 | 48 49#define _ARM32_BUS_DMA_PRIVATE 50#include <sys/param.h> 51#include <sys/systm.h> 52#include <sys/sysproto.h> 53#include <sys/signalvar.h> 54#include <sys/imgact.h> 55#include <sys/kernel.h> --- 367 unchanged lines hidden (view full) --- 423 * try to get the matching CPU support. 424 */ 425 soc_info.soc_data = at91_match_soc(soc_info.type, soc_info.subtype); 426 soc_info.dbgu_base = AT91_BASE + dbgu_base; 427 428 return (1); 429} 430 |
431static void | 431void |
432at91_soc_id(void) 433{ 434 435 if (!at91_try_id(AT91_DBGU0)) 436 at91_try_id(AT91_DBGU1); 437} 438 439#ifdef ARM_MANY_BOARD --- 262 unchanged lines hidden --- | 432at91_soc_id(void) 433{ 434 435 if (!at91_try_id(AT91_DBGU0)) 436 at91_try_id(AT91_DBGU1); 437} 438 439#ifdef ARM_MANY_BOARD --- 262 unchanged lines hidden --- |