Changeset df50cf6 in mainline


Ignore:
Timestamp:
2006-03-14T10:43:06Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4e2cf8b
Parents:
06502f7d
Message:

Added public domain malloc
Allowed including arch/mm/page.h to have getpagesize().

Location:
libc
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • libc/Makefile

    r06502f7d rdf50cf6  
    5656kerninc:
    5757        ln -sf ../../../kernel/generic/include include/kernel
     58        ln -sf kernel/arch include/arch
    5859
    5960-include Makefile.depend
    6061
    6162clean:
    62         -rm -f include/kernel libc.a arch/$(ARCH)/_link.ld Makefile.depend
     63        -rm -f include/kernel include/arch libc.a arch/$(ARCH)/_link.ld Makefile.depend
    6364        find generic/ arch/$(ARCH)/ -name '*.o' -follow -exec rm \{\} \;
    6465
  • libc/include/libc.h

    r06502f7d rdf50cf6  
    3333
    3434#include <kernel/syscall/syscall.h>
     35#include <kernel/arch/mm/page.h>
    3536
    3637#define __SYSCALL0(id) __syscall(0, 0, 0, 0, id)
     
    3940#define __SYSCALL3(id, p1, p2, p3) __syscall(p1,p2,p3, 0, id)
    4041#define __SYSCALL4(id, p1, p2, p3, p4) __syscall(p1,p2,p3,p4,id)
     42
     43#define getpagesize()     (PAGE_SIZE)
    4144
    4245extern void __main(void);
Note: See TracChangeset for help on using the changeset viewer.