Changeset d630139 in mainline


Ignore:
Timestamp:
2007-02-12T19:13:55Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0f6a3376
Parents:
bea09de6
Message:

Add arm32 architecture. The 32 suffix is used to specify that 16-bit Thumb
instructions are not used. The arm32 code is mostly composed of placeholders
that need to be replaced by real implementation. So far, the arm32 tree
only compiles. If run under GXEmul simulator, an infinit loop at the
kernel entry point will be entered.

Files:
59 added
8 edited

Legend:

Unmodified
Added
Removed
  • HelenOS.config

    rbea09de6 rd630139  
    33# Platform
    44@ "amd64" AMD64/Intel EM64T (PC)
     5@ "arm32" ARM 32-bit
    56@ "ia32" Intel IA-32 (PC)
    67@ "ia32xen" Intel IA-32 on Xen hypervisor
  • Makefile

    rbea09de6 rd630139  
    4040        UARCH = amd64
    4141        BARCH = amd64
     42endif
     43
     44ifeq ($(PLATFORM),arm32)
     45        KARCH = arm32
     46        UARCH = arm32
     47        BARCH = arm32
    4248endif
    4349
  • boot/boot.config

    rbea09de6 rd630139  
    33# Architecture
    44@ "amd64" AMD64/Intel EM64T
     5@ "arm32" ARM 32-bit
    56@ "ia32" Intel IA-32
    67@ "ia32xen" Intel IA-32 on Xen hypervisor
  • kernel/generic/include/lib/elf.h

    rbea09de6 rd630139  
    6565#define EM_PPC          20      /* PPC32 */
    6666#define EM_PPC64        21      /* PPC64 */
     67#define EM_ARM          40      /* ARM */
    6768#define EM_SPARCV9      43      /* SPARC64 */
    6869#define EM_IA_64        50      /* IA-64 */
  • kernel/generic/src/mm/frame.c

    rbea09de6 rd630139  
    6666#include <bitops.h>
    6767#include <macros.h>
     68#include <config.h>
    6869
    6970typedef struct {
  • kernel/kernel.config

    rbea09de6 rd630139  
    33# Architecture
    44@ "amd64" AMD64/Intel EM64T
     5@ "arm32" ARM 32-bit
    56@ "ia32" Intel IA-32
    67@ "ia32xen" Intel IA-32 on Xen hypervisor
     
    2829@ "opteron" Opteron
    2930! [ARCH=amd64] MACHINE (choice)
     31
     32# Machine type
     33@ "gxemul" GXEmul
     34! [ARCH=arm32] MACHINE (choice)
    3035
    3136# Machine type
  • uspace/libc/include/ctype.h

    rbea09de6 rd630139  
    4444{
    4545        switch(c) {
    46                 case ' ':
    47                 case '\n':
    48                 case '\t':
    49                 case '\f':
    50                 case '\r':
    51                 case '\v':
    52                         return 1;
    53                         break;
    54                 default:
    55                         return 0;
     46        case ' ':
     47        case '\n':
     48        case '\t':
     49        case '\f':
     50        case '\r':
     51        case '\v':
     52                return 1;
     53                break;
     54        default:
     55                return 0;
    5656        }
    5757}
  • uspace/uspace.config

    rbea09de6 rd630139  
    33# Architecture
    44@ "amd64" AMD64/Intel EM64T
     5@ "arm32" ARM 32-bit
    56@ "ia32" Intel IA-32
    67@ "ia64" Intel IA-64
Note: See TracChangeset for help on using the changeset viewer.