Questions tagged [mach]

Mach is the name of the foundational component of the XNU kernel, common to macOS, iOS, tvOS and watchOS. Originally developed by CMU, it was adopted by NeXTSTEP, and integrated into macOS (formally known as Mac OS X) when the former merged with Apple. Though largely undocumented, Mach APIs make up the core of XNU's IPC, scheduling and memory management, supplementing the more widely known POSIX APIs offered in Darwin.

159 questions
0
votes
0 answers

MacOs kernel-userspace communication using file

I want to create a file from kernel and this file must be accessed from user space. Other ways of communication (for example ioctl) is not suitable, because the user space application needs only files, and I don't have the source code of it. I need…
Georgy Buranov
  • 1,296
  • 1
  • 16
  • 26
0
votes
1 answer

Mac SDK libraries: What's in there? foo.dylib vs foo.A.dylib vs foo.B.dylib

I'm poking around in the SDKs, trying to understand what's actually included. I noticed that dylibs sometimes ship in multiple versions, e.g. ls…
masonk
  • 9,176
  • 2
  • 47
  • 58
0
votes
1 answer

Mach code causing memory depletion on iOS and Cocoa

I am using the following code to get CPU load on iOS and Cocoa (Mach). The strange thing is: if I call this code at regular intervals, say 30 times per second, available memory shrinks progressively and eventually the program crashes. Profiling the…
sergio
  • 68,819
  • 11
  • 102
  • 123
0
votes
2 answers

SQL Mach two table

I've 2 table. Table1 Has count about 2700 rows Colums: ID, NO, NAME Table2: Has count about 300 rows Colums: ID, NAME where: Table1.NO = Table2.ID I want to list Table1(2700 rows) but if Table1 doesn't contain some of Table2's rows I want to…
nermik
  • 1,485
  • 4
  • 16
  • 24
0
votes
1 answer

How to compile Mach 3?

I am interested in the mach operating system these days. However, I found it seems pretty difficult to build it on a modern Linux system, like Debian Wheezy. So I wanna know if there is any way to build this and boot it? Any ideas and advises are…
Lingfeng Xiong
  • 1,131
  • 2
  • 9
  • 25
0
votes
1 answer

XNU Kernel clone in DCPU-16

https://github.com/galaxas0/MachX-Kernel Before I embark on a project designed to fail, I'd like to set things straight so they don't fail, by asking a simple question: how on earth would a DCPU-16 load a kernel... being virtual and all. I…
Aditya Vaidyam
  • 6,259
  • 3
  • 24
  • 26
-1
votes
1 answer

Filter type undeclared?

I should cast an Interrupt Filter to pass to a function, but the thing is, my Xcode always tells me that the Filter type is undeclared.. Here is part of my code: interruptSrc =…
Miro Markaravanes
  • 3,285
  • 25
  • 32
-1
votes
1 answer

How to clean system memory in iOS?

In MacOs, you can see free, wired, active, inactive memory status by Activity Monitor. And, you can use commandline like "purge" to purge the memory. Then, Can I do this in iOS? I am not familiar with Mach/BSD. And, Can someone else help me? In Mac…
Magic fish
  • 78
  • 11
-2
votes
1 answer

How can I insert my mathematical formula?

I need to write above equation to my Matlab code but while writing it I got confused. M0=1.695, tetha1=41.31 degree, and gamma=1.4. When I insert those numbers the result is M1=2.5476, but it should be around 1.51. Would you please write that code…
ahmet
  • 1
1 2 3
10
11