| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: cpu.h,v 1.18 2010/02/09 18:13:10 phx Exp $ */ | | 1 | /* $NetBSD: cpu.h,v 1.19 2011/01/20 15:44:56 phx Exp $ */ |
2 | | | 2 | |
3 | /* | | 3 | /* |
4 | * Copyright (C) 1995-1997 Wolfgang Solfrank. | | 4 | * Copyright (C) 1995-1997 Wolfgang Solfrank. |
5 | * Copyright (C) 1995-1997 TooLs GmbH. | | 5 | * Copyright (C) 1995-1997 TooLs GmbH. |
6 | * All rights reserved. | | 6 | * All rights reserved. |
7 | * | | 7 | * |
8 | * Redistribution and use in source and binary forms, with or without | | 8 | * Redistribution and use in source and binary forms, with or without |
9 | * modification, are permitted provided that the following conditions | | 9 | * modification, are permitted provided that the following conditions |
10 | * are met: | | 10 | * are met: |
11 | * 1. Redistributions of source code must retain the above copyright | | 11 | * 1. Redistributions of source code must retain the above copyright |
12 | * notice, this list of conditions and the following disclaimer. | | 12 | * notice, this list of conditions and the following disclaimer. |
13 | * 2. Redistributions in binary form must reproduce the above copyright | | 13 | * 2. Redistributions in binary form must reproduce the above copyright |
14 | * notice, this list of conditions and the following disclaimer in the | | 14 | * notice, this list of conditions and the following disclaimer in the |
| @@ -37,34 +37,35 @@ | | | @@ -37,34 +37,35 @@ |
37 | #define CPU_MAXNUM 1 | | 37 | #define CPU_MAXNUM 1 |
38 | | | 38 | |
39 | /* | | 39 | /* |
40 | * Amiga models | | 40 | * Amiga models |
41 | */ | | 41 | */ |
42 | #define A1200 1200 | | 42 | #define A1200 1200 |
43 | #define A3000 3000 | | 43 | #define A3000 3000 |
44 | #define A4000 4000 | | 44 | #define A4000 4000 |
45 | extern int machineid; | | 45 | extern int machineid; |
46 | | | 46 | |
47 | /* | | 47 | /* |
48 | * Prototypes from amiga_init.c | | 48 | * Prototypes from amiga_init.c |
49 | */ | | 49 | */ |
50 | void *alloc_z2mem (long); | | 50 | void *alloc_z2mem(long); |
51 | | | 51 | |
52 | /* | | 52 | /* |
53 | * Prototypes from autoconf.c | | 53 | * Prototypes from autoconf.c |
54 | */ | | 54 | */ |
55 | int is_a1200 (void); | | 55 | #define is_a600() 0 |
56 | int is_a3000 (void); | | 56 | int is_a1200(void); |
57 | int is_a4000 (void); | | 57 | int is_a3000(void); |
| | | 58 | int is_a4000(void); |
58 | | | 59 | |
59 | /* | | 60 | /* |
60 | * Prototypes from machdep.c | | 61 | * Prototypes from machdep.c |
61 | */ | | 62 | */ |
62 | int dma_cachectl(void *, int); | | 63 | int dma_cachectl(void *, int); |
63 | | | 64 | |
64 | /* | | 65 | /* |
65 | * Prototypes from powerpc/powerpc/trap.c | | 66 | * Prototypes from powerpc/powerpc/trap.c |
66 | */ | | 67 | */ |
67 | int badaddr_read(void *, size_t, int *); | | 68 | int badaddr_read(void *, size_t, int *); |
68 | | | 69 | |
69 | #endif /* _KERNEL */ | | 70 | #endif /* _KERNEL */ |
70 | | | 71 | |