2 * Copyright (C) 2012, The AROS Development Team. All rights reserved.
3 * Author: Jason S. McMullan <jason.mcmullan@gmail.com>
5 * Licensed under the AROS PUBLIC LICENSE (APL) Version 1.1
8 #include <proto/exec.h>
10 #include <asm/amcc440.h>
12 #include "processor_intern_arch.h"
14 static ULONG
getpvr(void)
19 static int Processor_Init(struct ProcessorBase
* ProcessorBase
)
21 struct SystemProcessors
*sysprocs
= AllocVec(sizeof(struct SystemProcessors
), MEMF_ANY
| MEMF_CLEAR
);
26 sysprocs
->sp_PVR
= Supervisor(getpvr
);
28 ProcessorBase
->Private1
= sysprocs
;
33 ADD2INITLIB(Processor_Init
, 1);